Commit 5f7c17da authored by mana-byte's avatar mana-byte
Browse files

sbomnix: use finalAttrs pattern

parent 2c225d7e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";
  };
}
})