python3Packages.std-uritemplate: migrate to finalAttrs
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "std-uritemplate";
|
||||
version = "2.0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "std_uritemplate";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-afqeUkc41RG7S5Sz4jk8oFJKrRGOVJJZxU2zZ+BdmFI=";
|
||||
};
|
||||
|
||||
@@ -26,8 +26,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Std-uritemplate implementation for Python";
|
||||
homepage = "https://github.com/std-uritemplate/std-uritemplate";
|
||||
changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}";
|
||||
changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user