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:
parent
6a8a86ede2
commit
de91c05902
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user