2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchurl, buildPythonPackage, pyusb }:
|
2017-10-29 14:51:20 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-29 14:51:20 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|