python3Packages.generic: use finalAttrs
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "generic";
|
||||
version = "1.1.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-0U2uZihULrCEQ0WI01B1bIjy8wx+I0itX8+gH723zu0=";
|
||||
};
|
||||
|
||||
@@ -25,8 +25,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Generic programming (Multiple dispatch) library for Python";
|
||||
homepage = "https://github.com/gaphor/generic";
|
||||
changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
|
||||
changelog = "https://github.com/gaphor/generic/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user