mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
Merge pull request #137034 from fabaff/ospd
python3Packages.ospd: init at 21.4.3
This commit is contained in:
commit
921791e87a
53
pkgs/development/python-modules/ospd/default.nix
Normal file
53
pkgs/development/python-modules/ospd/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5208,6 +5208,8 @@ in {
|
|||||||
|
|
||||||
oslotest = callPackage ../development/python-modules/oslotest { };
|
oslotest = callPackage ../development/python-modules/oslotest { };
|
||||||
|
|
||||||
|
ospd = callPackage ../development/python-modules/ospd { };
|
||||||
|
|
||||||
osqp = callPackage ../development/python-modules/osqp { };
|
osqp = callPackage ../development/python-modules/osqp { };
|
||||||
|
|
||||||
outcome = callPackage ../development/python-modules/outcome { };
|
outcome = callPackage ../development/python-modules/outcome { };
|
||||||
|
Loading…
Reference in New Issue
Block a user