anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / greynoise / default.nix
blobeb3e4f3c117820c804f4d910c047ec454de3a4ec
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   click,
6   ansimarkup,
7   cachetools,
8   colorama,
9   click-default-group,
10   click-repl,
11   dict2xml,
12   jinja2,
13   more-itertools,
14   requests,
15   six,
16   pytestCheckHook,
17   mock,
18   pythonOlder,
21 buildPythonPackage rec {
22   pname = "greynoise";
23   version = "2.3.0";
24   format = "setuptools";
26   disabled = pythonOlder "3.6";
28   src = fetchFromGitHub {
29     owner = "GreyNoise-Intelligence";
30     repo = "pygreynoise";
31     rev = "refs/tags/v${version}";
32     hash = "sha256-17NieDQ57qVT2i4S26vLS9N6zALZ+eTtCCcBbhQ8fhQ=";
33   };
35   propagatedBuildInputs = [
36     click
37     ansimarkup
38     cachetools
39     colorama
40     click-default-group
41     click-repl
42     dict2xml
43     jinja2
44     more-itertools
45     requests
46     six
47   ];
49   nativeCheckInputs = [
50     pytestCheckHook
51     mock
52   ];
54   pythonImportsCheck = [ "greynoise" ];
56   meta = with lib; {
57     description = "Python3 library and command line for GreyNoise";
58     mainProgram = "greynoise";
59     homepage = "https://github.com/GreyNoise-Intelligence/pygreynoise";
60     changelog = "https://github.com/GreyNoise-Intelligence/pygreynoise/blob/${src.rev}/CHANGELOG.rst";
61     license = licenses.mit;
62     maintainers = with maintainers; [ mbalatsko ];
63   };