File tree Expand file tree Collapse file tree
development/python-modules/whois-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ { lib
2+ , buildPythonPackage
3+ , fetchFromGitHub
4+ , setuptools
5+ , requests
6+ , pytestCheckHook
7+ } :
8+
9+ buildPythonPackage rec {
10+ pname = "whois-api" ;
11+ version = "1.2.0" ;
12+ pyproject = true ;
13+
14+ src = fetchFromGitHub {
15+ owner = "whois-api-llc" ;
16+ repo = "whois-api-py" ;
17+ rev = "v${ version } " ;
18+ hash = "sha256-SeBeJ6k2R53LxHov+8t70geqUosk/yBJQCi6GaVteMM=" ;
19+ } ;
20+
21+ nativeBuildInputs = [
22+ setuptools
23+ ] ;
24+
25+ propagatedBuildInputs = [
26+ requests
27+ ] ;
28+
29+ # all tests touch internet
30+ doCheck = false ;
31+
32+ pythonImportsCheck = [ "whoisapi" ] ;
33+
34+ meta = with lib ; {
35+ description = "Whois API client library for Python" ;
36+ homepage = "https://github.com/whois-api-llc/whois-api-py" ;
37+ changelog = "https://github.com/whois-api-llc/whois-api-py/blob/${ src . rev } /CHANGELOG.rst" ;
38+ license = licenses . mit ;
39+ maintainers = with maintainers ; [ mbalatsko ] ;
40+ } ;
41+ }
Original file line number Diff line number Diff line change @@ -15527,6 +15527,8 @@ self: super: with self; {
1552715527
1552815528 whois = callPackage ../development/python-modules/whois { };
1552915529
15530+ whois-api = callPackage ../development/python-modules/whois-api { };
15531+
1553015532 whoosh = callPackage ../development/python-modules/whoosh { };
1553115533
1553215534 widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };
You can’t perform that action at this time.
0 commit comments