pythonPackages.usbtmc: move to python-modules/
This commit is contained in:
parent
aaa3608b4b
commit
05bf2bdba1
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, fetchurl, buildPythonPackage, pyusb }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "usbtmc-${version}";
|
||||||
|
version = "0.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "1wnw6ndc3s1i8zpbikz5zc40ijvpraqdb0xn8zmqlyn95xxfizw2";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22839,25 +22839,7 @@ EOF
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usbtmc = callPackage ../development/python-modules/usbtmc {};
|
||||||
usbtmc = buildPythonPackage rec {
|
|
||||||
name = "usbtmc-${version}";
|
|
||||||
version = "0.6";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/python-ivi/python-usbtmc/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "1wnw6ndc3s1i8zpbikz5zc40ijvpraqdb0xn8zmqlyn95xxfizw2";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyusb ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
txgithub = buildPythonPackage rec {
|
txgithub = buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
Loading…
Reference in New Issue