python.pkgs.python-uinput : move to separate expression
This commit is contained in:
parent
84c3055620
commit
ccf0468a84
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, udev }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-uinput";
|
||||||
|
version = "0.11.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "033zqiypjz0nigav6vz0s57pbzikvds55mxphrdpkdbpdikjnfcr";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ udev ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_LINK = [ "-ludev" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Pythonic API to Linux uinput kernel module";
|
||||||
|
homepage = "http://tjjr.fi/sw/python-uinput/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ abbradar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -323,26 +323,7 @@ in {
|
||||||
|
|
||||||
python-gnupg = callPackage ../development/python-modules/python-gnupg {};
|
python-gnupg = callPackage ../development/python-modules/python-gnupg {};
|
||||||
|
|
||||||
python-uinput = buildPythonPackage rec {
|
python-uinput = callPackage ../development/python-modules/python-uinput {};
|
||||||
name = "python-uinput-${version}";
|
|
||||||
version = "0.11.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/python-uinput/${name}.tar.gz";
|
|
||||||
sha256 = "033zqiypjz0nigav6vz0s57pbzikvds55mxphrdpkdbpdikjnfcr";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pkgs.udev ];
|
|
||||||
|
|
||||||
NIX_CFLAGS_LINK = [ "-ludev" ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Pythonic API to Linux uinput kernel module";
|
|
||||||
homepage = "http://tjjr.fi/sw/python-uinput/";
|
|
||||||
license = licenses.gpl3Plus;
|
|
||||||
maintainers = with maintainers; [ abbradar ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
python-sybase = buildPythonPackage rec {
|
python-sybase = buildPythonPackage rec {
|
||||||
name = "python-sybase-${version}";
|
name = "python-sybase-${version}";
|
||||||
|
|
Loading…
Reference in New Issue