From c55d9aeb01e02df9afa45474a08a5898590ebbde Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 12 Feb 2025 11:28:46 -0600 Subject: [PATCH] Add python-pyvisa-py * gnu/packages/engineering.scm (python-pyvisa-py): New package. Change-Id: If6addef9392be03b53a5b4fac2f0fd752af5246f Signed-off-by: Sharlatan Hellseher --- gnu/packages/engineering.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index bbb39a64df8e8c4adcfd7d1950ab4a0efb6dd156..965fe8839f4ba1b45a2c4db46aafad54e372b21b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2023 pinoaffe ;;; Copyright © 2024 Juliana Sims ;;; Copyright © 2024 Nguyễn Gia Phong +;;; Copyright © 2025 Frederick Muriuki Muriithi ;;; ;;; This file is part of GNU Guix. ;;; @@ -2810,6 +2811,32 @@ specification can be downloaded at @url{http://3mf.io/specification/}.") measurement devices and test equipment via GPIB, RS232, Ethernet or USB.") (license license:expat))) +(define-public python-pyvisa-py + (package + (name "python-pyvisa-py") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyVISA-py" version)) + (sha256 + (base32 "0lg8a041yg4yl31bxyyy51nh92rdp8ps94pzpyz7siaqg235npsc")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-wheel + python-setuptools)) + (propagated-inputs + (list python-pyvisa + python-typing-extensions)) + (home-page "https://pyvisa-py.readthedocs.io/") + (synopsis "Backend for PyVISA") + (description + "PyVISA-py is a backend for PyVISA that implements most of the methods +for Message Based communication (Serial/USB/GPIB/Ethernet) using Python and +some well developed, easy to deploy and cross platform libraries.") + (license license:expat))) + (define-public python-pandapower (package (name "python-pandapower")