python312Packages.securityreporter: set version manually

This commit is contained in:
Fabian Affolter
2024-11-15 09:04:24 +01:00
parent 4dde341229
commit b0ba9b2d2c
@@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-fpsvjbPE6iaOmLxykGSkCjkhFTmb8xhXa8pDrWN66KM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = [ poetry-core ];
dependencies = [ requests ];