Unverified Commit 6a0344bb authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.gvm-tools: modernize

parent 4d82743d
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@
  poetry-core,
  pytestCheckHook,
  python-gvm,
  pythonAtLeast,
  pythonOlder,
}:

buildPythonPackage rec {
@@ -14,8 +12,6 @@ buildPythonPackage rec {
  version = "25.4.1";
  pyproject = true;

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "greenbone";
    repo = "gvm-tools";
@@ -34,8 +30,8 @@ buildPythonPackage rec {
  disabledTests = [
    # Don't test sending
    "SendTargetTestCase"
  ]
  ++ lib.optionals (pythonAtLeast "3.10") [ "HelpFormattingParserTestCase" ];
    "HelpFormattingParserTestCase"
  ];

  pythonImportsCheck = [ "gvmtools" ];

@@ -43,7 +39,7 @@ buildPythonPackage rec {
    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 ];
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ fab ];
  };
}