mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
0f64b0a6d8
Diff: https://github.com/greenbone/ospd-openvas/compare/refs/tags/v22.5.4...v22.6.0 Changelog: https://github.com/greenbone/ospd-openvas/releases/tag/v22.6.0
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ospd-openvas";
|
|
version = "22.6.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "greenbone";
|
|
repo = "ospd-openvas";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-1538XMNnerhfV3xQ8/TyoztCfWnkRvy0p6QtKMQb2p4=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"packaging"
|
|
"python-gnupg"
|
|
];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
defusedxml
|
|
deprecated
|
|
lxml
|
|
packaging
|
|
paho-mqtt
|
|
psutil
|
|
python-gnupg
|
|
redis
|
|
sentry-sdk
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"ospd_openvas"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "OSP server implementation to allow GVM to remotely control an OpenVAS Scanner";
|
|
homepage = "https://github.com/greenbone/ospd-openvas";
|
|
changelog = "https://github.com/greenbone/ospd-openvas/releases/tag/v${version}";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|