2017-10-29 15:51:20 +01:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pyusb }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "usbtmc-${version}";
|
2017-10-29 16:04:38 +01:00
|
|
|
version = "0.8";
|
2017-10-29 15:51:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz";
|
2017-10-29 16:04:38 +01:00
|
|
|
sha256 = "14f4j77ljr45crnjwlp1dqbxwa45s20y2fpq5rg59r60w15al4yw";
|
2017-10-29 15:51:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python implementation of the USBTMC instrument control protocol";
|
|
|
|
homepage = http://alexforencich.com/wiki/en/python-usbtmc/start;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|