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