ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / ospd / default.nix
blobc4fe8be0b7ac48163e0cc1b910e7dd80d6fc1ea6
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , defusedxml
5 , deprecated
6 , fetchFromGitHub
7 , lxml
8 , paramiko
9 , psutil
10 , pytestCheckHook
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "ospd";
16   version = "21.4.4";
17   format = "setuptools";
19   disabled = pythonOlder "3.7" || stdenv.isDarwin;
21   src = fetchFromGitHub {
22     owner = "greenbone";
23     repo = pname;
24     rev = "v${version}";
25     sha256 = "sha256-dZgs+G2vJQIKnN9xHcNeNViG7mOIdKb+Ms2AKE+FC4M=";
26   };
28   propagatedBuildInputs = [
29     defusedxml
30     deprecated
31     lxml
32     paramiko
33     psutil
34   ];
36   checkInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "ospd"
42   ];
44   meta = with lib; {
45     description = "Framework for vulnerability scanners which support OSP";
46     homepage = "https://github.com/greenbone/ospd";
47     license = with licenses; [ agpl3Plus ];
48     maintainers = with maintainers; [ fab ];
49   };