mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
21 lines
598 B
Nix
21 lines
598 B
Nix
{ 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 ];
|
|
};
|
|
}
|