Merge pull request #230780 from mweinelt/tlds-2023050800

python310Packages.tlds: init at 2023050800
This commit is contained in:
Martin Weinelt 2023-05-09 02:24:27 +02:00 committed by GitHub
commit c1db9ece29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "tlds";
version = "2023050800";
format = "setuptools";
src = fetchFromGitHub {
owner = "mweinelt";
repo = "python-tlds";
rev = "refs/tags/${version}";
hash = "sha256-uXYRkalJGJ2o8ptvKCkMBc/U+9DpgPGxINM8w21ZIKM=";
};
pythonImportsCheck = [
"tlds"
];
# no tests
doCheck = false;
meta = with lib; {
description = "Automatically updated list of valid TLDs taken directly from IANA";
homepage = "https://github.com/mweinelt/tlds";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -11955,6 +11955,8 @@ self: super: with self; {
tld = callPackage ../development/python-modules/tld { };
tlds = callPackage ../development/python-modules/tlds { };
tldextract = callPackage ../development/python-modules/tldextract { };
tlsh = callPackage ../development/python-modules/tlsh { };