python3Packages.nptyping: use finalAttrs

This commit is contained in:
Timo Gottszky
2026-06-10 15:52:48 +02:00
parent 0634e1e5c1
commit 33ea8aedd1
@@ -10,7 +10,7 @@
feedparser,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "nptyping";
version = "2.5.0";
format = "setuptools";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "ramonhagenaars";
repo = "nptyping";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-hz4YrcvARCAA7TXapmneIwle/F4pzcIYLPSmiFHC0VQ=";
};
@@ -63,11 +63,11 @@ buildPythonPackage rec {
meta = {
description = "Type hints for numpy";
homepage = "https://github.com/ramonhagenaars/nptyping";
changelog = "https://github.com/ramonhagenaars/nptyping/blob/v${version}/HISTORY.md";
changelog = "https://github.com/ramonhagenaars/nptyping/blob/v${finalAttrs.version}/HISTORY.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
bcdarwin
pandapip1
];
};
}
})