depot/third_party/nixpkgs/pkgs/development/python-modules/python-uinput/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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 ];
};
}