at 24.11-pre 677 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nose, 6}: 7 8buildPythonPackage rec { 9 pname = "python-vxi11"; 10 version = "0.9"; 11 12 # no tests in PyPI tarball 13 src = fetchFromGitHub { 14 owner = "python-ivi"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "1xv7chp7rm0vrvbz6q57fpwhlgjz461h08q9zgmkcl2l0w96hmsn"; 18 }; 19 20 nativeCheckInputs = [ nose ]; 21 checkPhase = '' 22 nosetests 23 ''; 24 25 meta = with lib; { 26 description = "VXI-11 driver for controlling instruments over Ethernet"; 27 mainProgram = "vxi11-cli"; 28 homepage = "https://github.com/python-ivi/python-vxi11"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ bgamari ]; 31 }; 32}