From 21d113f17866c636c3b632cde979a14e504fd36f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Feb 2024 11:13:00 +0100 Subject: [PATCH 1/2] python311Packages.python-gvm: refactor --- pkgs/development/python-modules/gvm-tools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gvm-tools/default.nix b/pkgs/development/python-modules/gvm-tools/default.nix index 6f273d09a62b..f7698f61ba34 100644 --- a/pkgs/development/python-modules/gvm-tools/default.nix +++ b/pkgs/development/python-modules/gvm-tools/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "gvm-tools"; version = "24.1.0"; - format = "pyproject"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "greenbone"; - repo = pname; + repo = "gvm-tools"; rev = "refs/tags/v${version}"; hash = "sha256-4uYOhsnprYybt5EB/b4LW8/9cn0Nahc1lYQ+DwPNlOU="; }; From 88b64fa73471ed9fcb2eaf5537f5c1f78a20912b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Feb 2024 11:13:35 +0100 Subject: [PATCH 2/2] python311Packages.python-gvm: enable darwin support --- pkgs/development/python-modules/gvm-tools/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/gvm-tools/default.nix b/pkgs/development/python-modules/gvm-tools/default.nix index f7698f61ba34..cd6a4bfcd25b 100644 --- a/pkgs/development/python-modules/gvm-tools/default.nix +++ b/pkgs/development/python-modules/gvm-tools/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { hash = "sha256-4uYOhsnprYybt5EB/b4LW8/9cn0Nahc1lYQ+DwPNlOU="; }; + __darwinAllowLocalNetworking = true; + nativeBuildInputs = [ poetry-core ];