mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
python3Packages.evdev: use finalAttrs
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user