Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyvisa / default.nix
blob3d017f8ad2e502c33967c96fe4257c093dbc1728
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , setuptools-scm
5 , setuptools
6 , typing-extensions
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "pyvisa";
13   version = "1.14.1";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "pyvisa";
20     repo = "pyvisa";
21     rev = "refs/tags/${version}";
22     hash = "sha256-GKrgUK2nSZi+8oJoS45MjpU9+INEgcla9Kaw6ceNVp0=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   propagatedBuildInputs = [
31     typing-extensions
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ];
38   # Test can't find cli tool bin path correctly
39   disabledTests = [
40     "test_visa_info"
41   ];
43   meta = with lib; {
44     description = "Python package for support of the Virtual Instrument Software Architecture (VISA)";
45     homepage = "https://github.com/pyvisa/pyvisa";
46     license = licenses.mit;
47     maintainers = with maintainers; [ mvnetbiz ];
48   };