2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-07-19 12:23:11 +01:00
|
|
|
, udev }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-uinput";
|
|
|
|
version = "0.11.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "033zqiypjz0nigav6vz0s57pbzikvds55mxphrdpkdbpdikjnfcr";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ udev ];
|
|
|
|
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_CFLAGS_LINK = "-ludev";
|
2017-07-19 12:23:11 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-19 12:23:11 +01:00
|
|
|
description = "Pythonic API to Linux uinput kernel module";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://tjjr.fi/sw/python-uinput/";
|
2017-07-19 12:23:11 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|