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