at master 929 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools-scm, 6 setuptools, 7 typing-extensions, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "pyvisa"; 14 version = "1.15.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "pyvisa"; 21 repo = "pyvisa"; 22 tag = version; 23 hash = "sha256-cjKOyBn5O7ThZI7pi6JXeLhe47xGbhQaSRcAqXb3lV8="; 24 }; 25 26 nativeBuildInputs = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 propagatedBuildInputs = [ typing-extensions ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 # Test can't find cli tool bin path correctly 36 disabledTests = [ "test_visa_info" ]; 37 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 }; 44}