blob: c70ec5302ff11c3dd9095538ca2ab33a5b434ff0 (
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
|
{
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 ];
};
}
|