diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-30 00:12:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-30 00:12:08 +0000 |
commit | 506e353092183a01765b3612b8ac6b46884a79c2 (patch) | |
tree | 0a8cf6add24ef27eafbdd3f7a23a858596dde7d1 /pkgs/development/python-modules/python-whois/default.nix | |
parent | 201e6de9c789e8d72dd73f453aef222ad904e58c (diff) | |
parent | cd75d22750541115d5e3876838645d2d9123c842 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/python-whois/default.nix')
-rw-r--r-- | pkgs/development/python-modules/python-whois/default.nix | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/python-whois/default.nix b/pkgs/development/python-modules/python-whois/default.nix index 6cdfb81628a3a..a9bb5cdd8e383 100644 --- a/pkgs/development/python-modules/python-whois/default.nix +++ b/pkgs/development/python-modules/python-whois/default.nix @@ -1,37 +1,53 @@ { lib , buildPythonPackage , fetchPypi -, future -, nose +, pynose , pytestCheckHook +, python-dateutil +, pythonOlder +, setuptools , simplejson }: buildPythonPackage rec { pname = "python-whois"; - version = "0.8.0"; - format = "setuptools"; + version = "0.9.3"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-3TNtNRfqzip2iUBtt7uWraPF50MnQjFRru4+ZCJfYiA="; + hash = "sha256-jdoscMD4nw+PxIpCNweJMyv/9nm1+kYgSIhBUdJso84="; }; - propagatedBuildInputs = [ future ]; + build-system = [ + setuptools + ]; + + dependencies = [ + python-dateutil + ]; nativeCheckInputs = [ - nose + pynose pytestCheckHook simplejson ]; - # Exclude tests that require network access disabledTests = [ + # Exclude tests that require network access "test_dk_parse" "test_ipv4" "test_ipv6" + "test_choose_server" + "test_simple_ascii_domain" + "test_simple_unicode_domain" + ]; + + pythonImportsCheck = [ + "whois" ]; - pythonImportsCheck = [ "whois" ]; meta = with lib; { description = "Python module to produce parsed WHOIS data"; |