diff options
| author | Ryan Trinkle <ryan.trinkle@gmail.com> | 2017-11-03 10:53:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-03 10:53:00 -0400 |
| commit | ded1281f4519bfdeea6c79eb6857f00619d9859d (patch) | |
| tree | 0562858f7368f6e9ae65a730d2e4ea750d40f31e /pkgs/development/python-modules/python-uinput | |
| parent | dce2c258ac33ee1cd3b3e852b36e1d8fa11f33a1 (diff) | |
| parent | 74260a4922e678348eac91f4aa5767a3f5a039a4 (diff) | |
Merge branch 'master' into docker-dirlinks
Diffstat (limited to 'pkgs/development/python-modules/python-uinput')
| -rw-r--r-- | pkgs/development/python-modules/python-uinput/default.nix | 24 |
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 ]; + }; +} |
