Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, python-gvm, pythonAtLeast, pythonOlder,}:
buildPythonPackage rec { pname = "gvm-tools"; version = "25.3.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "greenbone"; repo = "gvm-tools"; tag = "v${version}"; hash = "sha256-DDs08VnyUB32n3JuVNmt9uMTssmbHOb351pla4zdE54="; };
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ python-gvm ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Don't test sending "SendTargetTestCase" ] ++ lib.optionals (pythonAtLeast "3.10") [ "HelpFormattingParserTestCase" ];
pythonImportsCheck = [ "gvmtools" ];
meta = with lib; { description = "Collection of APIs that help with remote controlling a Greenbone Security Manager"; homepage = "https://github.com/greenbone/gvm-tools"; changelog = "https://github.com/greenbone/gvm-tools/releases/tag/${src.tag}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; };}