Files
Martin Weinelt 8955b4a980 python3Packages.libevdev: 0.11 -> 0.12
This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:27 +02:00

37 lines
728 B
Nix

{
lib,
buildPythonPackage,
isPy27,
fetchPypi,
replaceVars,
pkgs,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "libevdev";
version = "0.12";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-AulSYy7GwknLucZvb6AAEupEiwZgbHfNE5EzvC/kawg=";
};
patches = [
(replaceVars ./fix-paths.patch {
libevdev = lib.getLib pkgs.libevdev;
})
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python wrapper around the libevdev C library";
homepage = "https://gitlab.freedesktop.org/libevdev/python-libevdev";
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
};
}