python3Packages.lmdb: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-06-12 09:19:58 +02:00
committed by GitHub
parent 3a59c798c0
commit c8cf49c0ae
@@ -9,13 +9,13 @@
lmdb,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "lmdb";
version = "2.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-sgG0FvfWzqm9L5dyd6X1HW5SpDTW7FEaizSZDfKxqcU=";
};
@@ -36,9 +36,8 @@ buildPythonPackage rec {
meta = {
description = "Universal Python binding for the LMDB 'Lightning' Database";
homepage = "https://github.com/dw/py-lmdb";
changelog = "https://github.com/jnwatson/py-lmdb/blob/py-lmdb_${version}/ChangeLog";
changelog = "https://github.com/jnwatson/py-lmdb/blob/py-lmdb_${finalAttrs.version}/ChangeLog";
license = lib.licenses.openldap;
maintainers = [
];
maintainers = [ ];
};
}
})