1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

python3Packages.python-whois: init at 0.7.3

This commit is contained in:
Fabian Affolter 2021-01-04 14:29:35 +01:00
parent 20489e31cd
commit 779662af30
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, future
, nose
, pytestCheckHook
, simplejson
}:
buildPythonPackage rec {
pname = "python-whois";
version = "0.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "05jaxbnlw5wck0hl124py364jqrx7a4mmv0hy3d2jzvmp0012sk5";
};
propagatedBuildInputs = [ future ];
checkInputs = [
nose
pytestCheckHook
simplejson
];
# Exclude tests that require network access
disabledTests = [
"test_dk_parse"
"test_ipv4"
"test_ipv6"
];
pythonImportsCheck = [ "whois" ];
meta = with lib; {
description = "Python module to produce parsed WHOIS data";
homepage = "https://github.com/richardpenman/whois";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6147,6 +6147,8 @@ in {
python-vlc = callPackage ../development/python-modules/python-vlc { };
python-whois = callPackage ../development/python-modules/python-whois { };
python-wifi = callPackage ../development/python-modules/python-wifi { };
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };