python3Packages.gvm-tools: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-20 08:39:10 +01:00
committed by GitHub
parent ea7d733046
commit dfcd08b177
@@ -7,7 +7,7 @@
python-gvm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "gvm-tools";
version = "25.4.6";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "greenbone";
repo = "gvm-tools";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-cx2eGE+oEZXLi9Zw769jzQAUwEUOavh4lSfYNn7aBsM=";
};
@@ -38,8 +38,8 @@ buildPythonPackage rec {
meta = {
description = "Collection of APIs that help with remote controlling a Greenbone Security Manager";
homepage = "https://github.com/greenbone/gvm-tools";
changelog = "https://github.com/greenbone/gvm-tools/releases/tag/${src.tag}";
changelog = "https://github.com/greenbone/gvm-tools/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}
})