From b0ba9b2d2c9040ce5cc0c454d3ddd1ff2e5b3055 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 Nov 2024 09:04:24 +0100 Subject: [PATCH] python312Packages.securityreporter: set version manually --- pkgs/development/python-modules/securityreporter/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/securityreporter/default.nix b/pkgs/development/python-modules/securityreporter/default.nix index 087d0f719032..5297d28fb81a 100644 --- a/pkgs/development/python-modules/securityreporter/default.nix +++ b/pkgs/development/python-modules/securityreporter/default.nix @@ -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 ];