evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / notus-scanner / default.nix
blob85fd8c2ced93208fb128443b1c0cc9f142403bb9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   paho-mqtt,
6   poetry-core,
7   psutil,
8   pytestCheckHook,
9   python-gnupg,
10   pythonOlder,
11   sentry-sdk,
12   tomli,
15 buildPythonPackage rec {
16   pname = "notus-scanner";
17   version = "22.6.4";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "greenbone";
24     repo = "notus-scanner";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-DcFIypfdrz8pM7qAMVpof6xKWYp/bSRUswngxa5EQFk=";
27   };
29   pythonRelaxDeps = [
30     "packaging"
31     "psutil"
32     "python-gnupg"
33   ];
35   build-system = [ poetry-core ];
38   propagatedBuildInputs = [
39     paho-mqtt
40     psutil
41     python-gnupg
42     sentry-sdk
43   ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
45   nativeCheckInputs = [ pytestCheckHook ];
47   pythonImportsCheck = [ "notus.scanner" ];
49   meta = with lib; {
50     description = "Helper to create results from local security checks";
51     homepage = "https://github.com/greenbone/notus-scanner";
52     changelog = "https://github.com/greenbone/notus-scanner/releases/tag/v${version}";
53     license = with licenses; [ agpl3Plus ];
54     maintainers = with maintainers; [ fab ];
55   };