Merge pull request #108387 from fabaff/asyncwhois

python3Packages.asyncwhois: init at 0.2.0
This commit is contained in:
Sandro 2021-01-04 16:36:05 +01:00 committed by GitHub
commit 884064f802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -459,6 +459,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 { };