summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-uinput
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-29 14:24:10 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-29 14:24:10 -0500
commit169227bfd248f1bc4175e62d2e3d77658f9b0738 (patch)
treec390021c34c5fedfd9770129e1eac2b0e5989726 /pkgs/development/python-modules/python-uinput
parent2e0ebc0532f89e4073cbea3f0ef1074a7a21dd8a (diff)
parent3a59cd87f26cc59c91fb821749b1ec0d64922f87 (diff)
Merge commit '3a59cd87f26cc59c91fb821749b1ec0d64922f87' into mingw32-w64-fix
Diffstat (limited to 'pkgs/development/python-modules/python-uinput')
-rw-r--r--pkgs/development/python-modules/python-uinput/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-uinput/default.nix b/pkgs/development/python-modules/python-uinput/default.nix
new file mode 100644
index 000000000000..326151a4843f
--- /dev/null
+++ b/pkgs/development/python-modules/python-uinput/default.nix
@@ -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 ];
+ };
+}