talosctl: 1.9.1 -> 1.9.2 (#374443)
[NixPkgs.git] / pkgs / development / python-modules / pyvisa / default.nix
blob3a7fea7b051f9344b4546865815d284903395370
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools-scm,
6   setuptools,
7   typing-extensions,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "pyvisa";
14   version = "1.14.1";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "pyvisa";
21     repo = "pyvisa";
22     tag = version;
23     hash = "sha256-GKrgUK2nSZi+8oJoS45MjpU9+INEgcla9Kaw6ceNVp0=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [ typing-extensions ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   # Test can't find cli tool bin path correctly
36   disabledTests = [ "test_visa_info" ];
38   meta = with lib; {
39     description = "Python package for support of the Virtual Instrument Software Architecture (VISA)";
40     homepage = "https://github.com/pyvisa/pyvisa";
41     license = licenses.mit;
42     maintainers = with maintainers; [ mvnetbiz ];
43   };