python312Packages.tlds: 20231103000 -> 2024071000

And configure nix-update as the update script, because the default python
update script does not find the tags, because it only checks for
releases.
This commit is contained in:
Martin Weinelt 2024-07-23 17:18:08 +02:00
parent 6a8a86ede2
commit de91c05902
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -3,18 +3,19 @@
buildPythonPackage,
fetchFromGitHub,
setuptools,
nix-update-script,
}:
buildPythonPackage rec {
pname = "tlds";
version = "2023110300";
version = "2024071000";
pyproject = true;
src = fetchFromGitHub {
owner = "kichik";
repo = "tlds";
rev = "refs/tags/${version}";
hash = "sha256-rmKqY7Z4bBR4r+w4gH04g0Xm9N7QeMVcuFR3pB/pOQY=";
hash = "sha256-xt2IdF7V8NUW9nUg8x7XbMHLWir6CHAQcRIiH6ejV5M=";
};
nativeBuildInputs = [ setuptools ];
@ -24,6 +25,8 @@ buildPythonPackage rec {
# no tests
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Automatically updated list of valid TLDs taken directly from IANA";
homepage = "https://github.com/kichik/tlds";