mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge pull request #108381 from fabaff/whois
python3Packages.whois: init at 0.9.7
This commit is contained in:
commit
d92659f1e9
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 New Issue
Block a user