Merge pull request #108381 from fabaff/whois

python3Packages.whois: init at 0.9.7
This commit is contained in:
Sandro 2021-01-04 16:37:42 +01:00 committed by GitHub
commit d92659f1e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, inetutils
}:
buildPythonPackage rec {
pname = "whois";
version = "0.9.7";
src = fetchFromGitHub {
owner = "DannyCork";
repo = "python-whois";
rev = version;
sha256 = "1rbc4xif4dn455vc8dhxdvwszrb0nik5q9fy12db6mxfx6zikb7z";
};
# whois is needed
propagatedBuildInputs = [ inetutils ];
# tests require network access
doCheck = false;
pythonImportsCheck = [ "whois" ];
meta = with lib; {
description = "Python module/library for retrieving WHOIS information";
homepage = "https://github.com/DannyCork/python-whois/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7916,6 +7916,8 @@ in {
whitenoise = callPackage ../development/python-modules/whitenoise { };
whois = callPackage ../development/python-modules/whois { };
whoosh = callPackage ../development/python-modules/whoosh { };
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };