Skip to content

Commit

Permalink
python3Packages.whois: init at 0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jan 4, 2021
1 parent 20489e3 commit 7be0073
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/whois/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7898,6 +7898,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 { };
Expand Down

0 comments on commit 7be0073

Please sign in to comment.