Merge pull request #108384 from fabaff/python-whois
This commit is contained in:
commit
02a10e0c59
41
pkgs/development/python-modules/python-whois/default.nix
Normal file
41
pkgs/development/python-modules/python-whois/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -925,7 +925,7 @@
|
|||||||
"webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv
|
"webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv
|
||||||
"websocket_api" = ps: with ps; [ aiohttp-cors ];
|
"websocket_api" = ps: with ps; [ aiohttp-cors ];
|
||||||
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
|
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo
|
||||||
"whois" = ps: with ps; [ ]; # missing inputs: python-whois
|
"whois" = ps: with ps; [ python-whois ];
|
||||||
"wiffi" = ps: with ps; [ ]; # missing inputs: wiffi
|
"wiffi" = ps: with ps; [ ]; # missing inputs: wiffi
|
||||||
"wilight" = ps: with ps; [ ]; # missing inputs: pywilight
|
"wilight" = ps: with ps; [ ]; # missing inputs: pywilight
|
||||||
"wink" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pubnubsub-handler python-wink
|
"wink" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pubnubsub-handler python-wink
|
||||||
|
@ -6163,6 +6163,8 @@ in {
|
|||||||
|
|
||||||
python-vlc = callPackage ../development/python-modules/python-vlc { };
|
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-wifi = callPackage ../development/python-modules/python-wifi { };
|
||||||
|
|
||||||
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
|
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user