python313Packages.pydeps: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-07 10:43:11 +01:00
committed by GitHub
parent e8ea818007
commit 602d7aa18c
@@ -10,7 +10,7 @@
toml,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pydeps";
version = "3.0.2";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "thebjorn";
repo = "pydeps";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-ZHD8ux3GLm5OsTkaEZfix5zgsdbLHpIxVtwKByduEzk=";
};
@@ -53,9 +53,9 @@ buildPythonPackage rec {
meta = {
description = "Python module dependency visualization";
homepage = "https://github.com/thebjorn/pydeps";
changelog = "https://github.com/thebjorn/pydeps/releases/tag/v${version}";
changelog = "https://github.com/thebjorn/pydeps/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pydeps";
};
}
})