Merge pull request #258166 from mbalatsko/init-greynoise

python3Packages.greynoise: init at 2.0.1
This commit is contained in:
Fabian Affolter 2023-09-30 19:01:47 +02:00 committed by GitHub
commit 6c90539618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,62 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, ansimarkup
, cachetools
, colorama
, click-default-group
, click-repl
, dict2xml
, jinja2
, more-itertools
, requests
, six
, pytestCheckHook
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "greynoise";
version = "2.0.1";
format = "setuptools";
disable = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "GreyNoise-Intelligence";
repo = "pygreynoise";
rev = "v${version}";
hash = "sha256-zevom7JqXnZuotXfGtfPOmQNh32dANS4Uc6tHUuq08s=";
};
propagatedBuildInputs = [
click
ansimarkup
cachetools
colorama
click-default-group
click-repl
dict2xml
jinja2
more-itertools
requests
six
];
nativeCheckInputs = [
pytestCheckHook
mock
];
pythonImportsCheck = [ "greynoise" ];
meta = with lib; {
description = "Python3 library and command line for GreyNoise";
homepage = "https://github.com/GreyNoise-Intelligence/pygreynoise";
changelog = "https://github.com/GreyNoise-Intelligence/pygreynoise/blob/${src.rev}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}

View File

@ -4690,6 +4690,8 @@ self: super: with self; {
gremlinpython = callPackage ../development/python-modules/gremlinpython { };
greynoise = callPackage ../development/python-modules/greynoise { };
growattserver = callPackage ../development/python-modules/growattserver { };
gridnet = callPackage ../development/python-modules/gridnet { };