python3Packages.evdev: use finalAttrs

This commit is contained in:
Sigmanificient
2026-07-21 00:50:24 +02:00
parent 2f591b3d0c
commit adff968646

View File

@@ -7,13 +7,13 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "evdev";
version = "1.9.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-LBQOAayEN3WPoj/lyHE5dBJGH0LUIaogJB3I/oz8y8k=";
};
@@ -40,9 +40,9 @@ buildPythonPackage rec {
meta = {
description = "Provides bindings to the generic input event interface in Linux";
homepage = "https://python-evdev.readthedocs.io/";
changelog = "https://github.com/gvalkov/python-evdev/blob/v${version}/docs/changelog.rst";
changelog = "https://github.com/gvalkov/python-evdev/blob/v${finalAttrs.version}/docs/changelog.rst";
license = lib.licenses.bsd3;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}
})