1{ stdenv, fetchurl, buildPythonPackage, pyusb }: 2 3buildPythonPackage rec { 4 pname = "usbtmc"; 5 version = "0.8"; 6 name = pname + "-" + version; 7 8 src = fetchurl { 9 url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz"; 10 sha256 = "14f4j77ljr45crnjwlp1dqbxwa45s20y2fpq5rg59r60w15al4yw"; 11 }; 12 13 propagatedBuildInputs = [ pyusb ]; 14 15 meta = with stdenv.lib; { 16 description = "Python implementation of the USBTMC instrument control protocol"; 17 homepage = http://alexforencich.com/wiki/en/python-usbtmc/start; 18 license = licenses.mit; 19 maintainers = with maintainers; [ bjornfor ]; 20 }; 21}