587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
29 lines
586 B
Nix
29 lines
586 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, udev
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-uinput";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-hTaXNEtk31U31K4yum+88FFdUakBCRD11QGZWQOLbro=";
|
|
};
|
|
|
|
buildInputs = [ udev ];
|
|
|
|
NIX_CFLAGS_LINK = "-ludev";
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = with lib; {
|
|
description = "Pythonic API to Linux uinput kernel module";
|
|
homepage = "https://tjjr.fi/sw/python-uinput/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|