Something went wrong. Try again.
lol
Something went wrong. Try again.
738 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchPypi, replaceVars, pkgs, hatchling, pytestCheckHook,}:
buildPythonPackage rec { pname = "libevdev"; version = "0.13.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-3DNpzRQBdnueyxEXzWtz+rqQOOO9nhaVpxCp6dlBXo0="; };
patches = [ (replaceVars ./fix-paths.patch { libevdev = lib.getLib pkgs.libevdev; }) ];
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Python wrapper around the libevdev C library"; homepage = "https://gitlab.freedesktop.org/libevdev/python-libevdev"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nickhu ]; };}