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