pythonPackages.usbtmc: move to python-modules/
This commit is contained in:
parent
aaa3608b4b
commit
05bf2bdba1
20
pkgs/development/python-modules/usbtmc/default.nix
Normal file
20
pkgs/development/python-modules/usbtmc/default.nix
Normal file
@ -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 = 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 ];
|
||||
};
|
||||
};
|
||||
usbtmc = callPackage ../development/python-modules/usbtmc {};
|
||||
|
||||
txgithub = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user