stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / notus-scanner / default.nix
blob8fe4c5e02728d662aa524b3d47287068f718fbad
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.5";
18   pyproject = true;
20   disabled = pythonOlder "3.9";
22   src = fetchFromGitHub {
23     owner = "greenbone";
24     repo = "notus-scanner";
25     tag = "v${version}";
26     hash = "sha256-PPwQjZIKSQ1OmyYJ8ErkqdbHZfH4iHPMiDdKZ3imBwo=";
27   };
29   pythonRelaxDeps = [
30     "packaging"
31     "psutil"
32     "python-gnupg"
33   ];
35   build-system = [ poetry-core ];
37   propagatedBuildInputs = [
38     paho-mqtt
39     psutil
40     python-gnupg
41     sentry-sdk
42   ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
44   nativeCheckInputs = [ pytestCheckHook ];
46   pythonImportsCheck = [ "notus.scanner" ];
48   meta = with lib; {
49     description = "Helper to create results from local security checks";
50     homepage = "https://github.com/greenbone/notus-scanner";
51     changelog = "https://github.com/greenbone/notus-scanner/releases/tag/v${version}";
52     license = with licenses; [ agpl3Plus ];
53     maintainers = with maintainers; [ fab ];
54   };