sbomnix: use finalAttrs pattern

This commit is contained in:
mana-byte
2026-03-09 20:29:41 +01:00
parent 2c225d7e3e
commit 5f7c17da30
+3 -3
View File
@@ -8,7 +8,7 @@
python3,
vulnix,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "sbomnix";
version = "1.7.4";
pyproject = true;
@@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "tiiuae";
repo = "sbomnix";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-s7mmtbELRcl/7ab5A3fU7f8m4rIm+mBLmXMeYHa7/n4=";
# Remove documentation as it contains references to nix store
@@ -78,4 +78,4 @@ python3.pkgs.buildPythonApplication rec {
];
mainProgram = "sbomnix";
};
}
})