Merge pull request #313608 from fabaff/ospd-openvas-darwin

ospd-openvas: limit platform support
This commit is contained in:
Weijia Wang 2024-05-22 13:53:00 +02:00 committed by GitHub
commit cf2e15c527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
@ -20,13 +21,9 @@ python3.pkgs.buildPythonApplication rec {
"python-gnupg"
];
build-system = with python3.pkgs; [
poetry-core
];
build-system = with python3.pkgs; [ poetry-core ];
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
propagatedBuildInputs = with python3.pkgs; [
defusedxml
@ -40,13 +37,9 @@ python3.pkgs.buildPythonApplication rec {
sentry-sdk
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
pythonImportsCheck = [
"ospd_openvas"
];
pythonImportsCheck = [ "ospd_openvas" ];
meta = with lib; {
description = "OSP server implementation to allow GVM to remotely control an OpenVAS Scanner";
@ -54,5 +47,6 @@ python3.pkgs.buildPythonApplication rec {
changelog = "https://github.com/greenbone/ospd-openvas/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}