diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-04 14:27:00 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-04 14:27:00 +0100 |
commit | 234a289c8989710cae73128cf97680591e925ec6 (patch) | |
tree | 03d145fc772cb86c895987acf2c67305a01d17b6 | |
parent | 20489e31cd2cada27690612689a3bf5e608c5109 (diff) | |
download | nixlib-234a289c8989710cae73128cf97680591e925ec6.tar nixlib-234a289c8989710cae73128cf97680591e925ec6.tar.gz nixlib-234a289c8989710cae73128cf97680591e925ec6.tar.bz2 nixlib-234a289c8989710cae73128cf97680591e925ec6.tar.lz nixlib-234a289c8989710cae73128cf97680591e925ec6.tar.xz nixlib-234a289c8989710cae73128cf97680591e925ec6.tar.zst nixlib-234a289c8989710cae73128cf97680591e925ec6.zip |
python3Packages.asyncwhois: init at 0.2.0
-rw-r--r-- | pkgs/development/python-modules/asyncwhois/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/asyncwhois/default.nix b/pkgs/development/python-modules/asyncwhois/default.nix new file mode 100644 index 000000000000..ba8f212d2f34 --- /dev/null +++ b/pkgs/development/python-modules/asyncwhois/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, aiodns +, tldextract +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "asyncwhois"; + version = "0.2.0"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "0rdmg59jzzfz59b3ckg5187lc0wk9r0pzp9x09nq3xs21mcwqjxz"; + }; + + propagatedBuildInputs = [ + aiodns + tldextract + ]; + + # tests are only present at GitHub but not the released source tarballs + # https://github.com/pogzyb/asyncwhois/issues/10 + doCheck = false; + pythonImportsCheck = [ "asyncwhois" ]; + + meta = with lib; { + description = "Python module for retrieving WHOIS information"; + homepage = "https://github.com/pogzyb/asyncwhois"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cfb9ac52ccb1..10a833ef4b4d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -453,6 +453,8 @@ in { async-upnp-client = callPackage ../development/python-modules/async-upnp-client { }; + asyncwhois = callPackage ../development/python-modules/asyncwhois { }; + atlassian-python-api = callPackage ../development/python-modules/atlassian-python-api { }; atom = callPackage ../development/python-modules/atom { }; |