Merge pull request #290435 from fabaff/whoisdomain

python311Packages.whoisdomain: init at 1.20240129.1
This commit is contained in:
Fabian Affolter 2024-02-22 08:33:51 +01:00 committed by GitHub
commit a57b1daf43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, pythonOlder
}:
buildPythonPackage rec {
pname = "whoisdomain";
version = "1.20240129.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mboot-github";
repo = "WhoisDomain";
rev = "refs/tags/${version}";
hash = "sha256-nRj/WkYjMZuQoYF+QFIHABlek4DxvvEnOTeFYLHYvZc=";
};
nativeBuildInputs = [
hatchling
];
pythonImportsCheck = [
"whoisdomain"
];
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Module to perform whois lookups";
homepage = "https://github.com/mboot-github/WhoisDomain";
changelog = "https://github.com/mboot-github/WhoisDomain/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -16324,6 +16324,8 @@ self: super: with self; {
whois-api = callPackage ../development/python-modules/whois-api { };
whoisdomain = callPackage ../development/python-modules/whoisdomain { };
whoosh = callPackage ../development/python-modules/whoosh { };
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };