Fabian Affolter
2026-07-09 13:35:29 +02:00
parent 3b315264d3
commit 56c362a1e5
+9 -2
View File
@@ -1,12 +1,13 @@
{
lib,
fetchFromGitHub,
kingfisher,
python3Packages,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "prowler";
version = "5.31.1";
version = "5.33.0";
pyproject = true;
__structuredAttrs = true;
@@ -15,11 +16,13 @@ python3Packages.buildPythonApplication (finalAttrs: {
owner = "prowler-cloud";
repo = "prowler";
tag = finalAttrs.version;
hash = "sha256-V3kPj3gtS8ZkeU/rBaTPaOdfWvYI70jAi52kCX0m/jg=";
hash = "sha256-dx4/AmV+K4YH9gqjznMNJcVv0MZ5Qt/Lelw6ErbHgt8=";
};
pythonRelaxDeps = true;
pythonRemoveDeps = [ "kingfisher-bin" ];
build-system = with python3Packages; [ hatchling ];
dependencies = with python3Packages; [
@@ -107,6 +110,10 @@ python3Packages.buildPythonApplication (finalAttrs: {
uuid6
];
postFixup = ''
wrapProgram $out/bin/prowler --prefix PATH : "${lib.makeBinPath [ kingfisher ]}"
'';
pythonImportsCheck = [ "prowler" ];
meta = {