about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/usbtmc/default.nix
blob: 34e6025dcfb6c2719be1d084ab1c3cac98134da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, buildPythonPackage, pyusb }:

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 ];

  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 ];
  };
}