Files
nixpkgs/pkgs/development/python-modules/greynoise/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
click,
ansimarkup,
cachetools,
colorama,
click-default-group,
click-repl,
dict2xml,
hatchling,
jinja2,
more-itertools,
requests,
six,
pytestCheckHook,
mock,
pythonOlder,
}:
buildPythonPackage rec {
pname = "greynoise";
version = "3.0.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "GreyNoise-Intelligence";
repo = "pygreynoise";
tag = "v${version}";
hash = "sha256-wJDO666HC3EohfR+LbG5F0Cp/eL7q4kXniWhJfc7C3s=";
};
build-system = [
hatchling
];
dependencies = [
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";
mainProgram = "greynoise";
homepage = "https://github.com/GreyNoise-Intelligence/pygreynoise";
changelog = "https://github.com/GreyNoise-Intelligence/pygreynoise/blob/${src.tag}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}