gitxray: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-15 15:04:57 +01:00
parent c121786b0f
commit cf7984a99d

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "gitxray";
version = "1.0.20";
pyproject = true;
@@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "kulkansecurity";
repo = "gitxray";
tag = version;
tag = finalAttrs.version;
hash = "sha256-pnP9vqyobB9MY8axBokzZvM4L8Th3/wDA4adpNyF0G8=";
};
@@ -25,9 +25,9 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Tool which leverages Public GitHub REST APIs for various tasks";
homepage = "https://github.com/kulkansecurity/gitxray";
changelog = "https://github.com/kulkansecurity/gitxray/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/kulkansecurity/gitxray/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "gitxray";
};
}
})