Merge pull request #108381 from fabaff/whois
python3Packages.whois: init at 0.9.7
This commit is contained in:
commit
d92659f1e9
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/whois/default.nix
Normal file
32
pkgs/development/python-modules/whois/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue