Merge pull request #137034 from fabaff/ospd

python3Packages.ospd: init at 21.4.3
This commit is contained in:
Fabian Affolter 2021-09-22 10:29:47 +02:00 committed by GitHub
commit 921791e87a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ lib
, stdenv
, buildPythonPackage
, defusedxml
, deprecated
, fetchFromGitHub
, lxml
, paramiko
, poetry
, psutil
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "ospd";
version = "21.4.3";
format = "pyproject";
disabled = pythonOlder "3.7" || stdenv.isDarwin;
src = fetchFromGitHub {
owner = "greenbone";
repo = pname;
rev = "v${version}";
sha256 = "1i4nfvxgxibqmqb6jwih951960sm2zy00i1wnjfnwb6za1xkpbkp";
};
nativeBuildInputs = [
poetry
];
propagatedBuildInputs = [
defusedxml
deprecated
lxml
paramiko
psutil
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ospd" ];
meta = with lib; {
description = "Framework for vulnerability scanners which support OSP";
homepage = "https://github.com/greenbone/ospd";
license = with licenses; [ agpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5208,6 +5208,8 @@ in {
oslotest = callPackage ../development/python-modules/oslotest { };
ospd = callPackage ../development/python-modules/ospd { };
osqp = callPackage ../development/python-modules/osqp { };
outcome = callPackage ../development/python-modules/outcome { };