Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 53 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, fetchFromGitHub, buildPythonPackage, setuptools-scm, pyserial, pyusb, pyvisa, typing-extensions, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pyvisa-py"; version = "0.7.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "pyvisa"; repo = "pyvisa-py"; rev = "refs/tags/${version}"; hash = "sha256-wMDO0CUCSSCB8cXvTmIEWD8OGMZRZNhmmRx+fZnK288="; };
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ pyserial pyusb pyvisa typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
postConfigure = '' export SETUPTOOLS_SCM_PRETEND_VERSION="v${version}" '';
meta = with lib; { description = "Module that implements the Virtual Instrument Software Architecture"; homepage = "https://github.com/pyvisa/pyvisa-py"; changelog = "https://github.com/pyvisa/pyvisa-py/blob/${version}/CHANGES"; license = licenses.mit; maintainers = with maintainers; [ mvnetbiz ]; };}