504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
29 lines
588 B
Nix
29 lines
588 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, udev
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-uinput";
|
|
version = "0.11.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "033zqiypjz0nigav6vz0s57pbzikvds55mxphrdpkdbpdikjnfcr";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|