Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ 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";
disabled = 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 ]; };}