Loading pkgs/development/python-modules/cymruwhois/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, python-memcached, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "cymruwhois"; version = "1.6"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "JustinAzoff"; repo = "python-cymruwhois"; rev = "refs/tags/${version}"; hash = "sha256-d9m668JYI9mxUycoVWyaDCR7SOca+ebymZxWtgSPWNU="; }; build-system = [ setuptools ]; optional-dependencies = { CACHE = [ python-memcached ]; }; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cymruwhois" ]; disabledTests = [ # Tests require network access "test_asn" # AssertionError "test_doctest" ]; meta = { description = "Python client for the whois.cymru.com service"; homepage = "https://github.com/JustinAzoff/python-cymruwhois"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2802,6 +2802,8 @@ self: super: with self; { cymem = callPackage ../development/python-modules/cymem { }; cymruwhois = callPackage ../development/python-modules/cymruwhois { }; cypari2 = callPackage ../development/python-modules/cypari2 { }; cypherpunkpay = callPackage ../development/python-modules/cypherpunkpay { }; Loading Loading
pkgs/development/python-modules/cymruwhois/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, python-memcached, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "cymruwhois"; version = "1.6"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "JustinAzoff"; repo = "python-cymruwhois"; rev = "refs/tags/${version}"; hash = "sha256-d9m668JYI9mxUycoVWyaDCR7SOca+ebymZxWtgSPWNU="; }; build-system = [ setuptools ]; optional-dependencies = { CACHE = [ python-memcached ]; }; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "cymruwhois" ]; disabledTests = [ # Tests require network access "test_asn" # AssertionError "test_doctest" ]; meta = { description = "Python client for the whois.cymru.com service"; homepage = "https://github.com/JustinAzoff/python-cymruwhois"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2802,6 +2802,8 @@ self: super: with self; { cymem = callPackage ../development/python-modules/cymem { }; cymruwhois = callPackage ../development/python-modules/cymruwhois { }; cypari2 = callPackage ../development/python-modules/cypari2 { }; cypherpunkpay = callPackage ../development/python-modules/cypherpunkpay { }; Loading