blob: 3d017f8ad2e502c33967c96fe4257c093dbc1728 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, fetchFromGitHub
, buildPythonPackage
, setuptools-scm
, setuptools
, typing-extensions
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyvisa";
version = "1.14.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pyvisa";
repo = "pyvisa";
rev = "refs/tags/${version}";
hash = "sha256-GKrgUK2nSZi+8oJoS45MjpU9+INEgcla9Kaw6ceNVp0=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
];
# Test can't find cli tool bin path correctly
disabledTests = [
"test_visa_info"
];
meta = with lib; {
description = "Python package for support of the Virtual Instrument Software Architecture (VISA)";
homepage = "https://github.com/pyvisa/pyvisa";
license = licenses.mit;
maintainers = with maintainers; [ mvnetbiz ];
};
}
|