anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / python-gvm / default.nix
blob6e3c886a5632ef18858f430bf906a56f56b86a9c
2   lib,
3   stdenv,
4   buildPythonPackage,
5   defusedxml,
6   fetchFromGitHub,
7   lxml,
8   paramiko,
9   poetry-core,
10   pontos,
11   pytestCheckHook,
12   pythonOlder,
13   typing-extensions,
16 buildPythonPackage rec {
17   pname = "python-gvm";
18   version = "24.11.0";
19   pyproject = true;
21   disabled = pythonOlder "3.9";
23   src = fetchFromGitHub {
24     owner = "greenbone";
25     repo = "python-gvm";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-n4Izhtqs6awEtnt4r915ZtyHQnM49ExbuAzqJw/CNa0=";
28   };
30   build-system = [ poetry-core ];
32   pythonRelaxDeps = [ "defusedxml" ];
34   dependencies = [
35     defusedxml
36     lxml
37     paramiko
38     typing-extensions
39   ];
41   nativeCheckInputs = [
42     pontos
43     pytestCheckHook
44   ];
46   disabledTests = [
47     # No running SSH available
48     "test_connect_error"
49     "test_feed_xml_error"
50   ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_feed_xml_error" ];
52   pythonImportsCheck = [ "gvm" ];
54   meta = with lib; {
55     description = "Collection of APIs that help with remote controlling a Greenbone Security Manager";
56     homepage = "https://github.com/greenbone/python-gvm";
57     changelog = "https://github.com/greenbone/python-gvm/releases/tag/v${version}";
58     license = with licenses; [ gpl3Plus ];
59     maintainers = with maintainers; [ fab ];
60   };