2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, buildPythonPackage, pyusb }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "usbtmc";
|
|
|
|
version = "0.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "14f4j77ljr45crnjwlp1dqbxwa45s20y2fpq5rg59r60w15al4yw";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyusb ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|