Merge pull request #230780 from mweinelt/tlds-2023050800
python310Packages.tlds: init at 2023050800
This commit is contained in:
commit
c1db9ece29
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/tlds/default.nix
Normal file
31
pkgs/development/python-modules/tlds/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue