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,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
setuptools,
|
setuptools,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tlds";
|
pname = "tlds";
|
||||||
version = "2023110300";
|
version = "2024071000";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kichik";
|
owner = "kichik";
|
||||||
repo = "tlds";
|
repo = "tlds";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-rmKqY7Z4bBR4r+w4gH04g0Xm9N7QeMVcuFR3pB/pOQY=";
|
hash = "sha256-xt2IdF7V8NUW9nUg8x7XbMHLWir6CHAQcRIiH6ejV5M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
nativeBuildInputs = [ setuptools ];
|
||||||
@ -24,6 +25,8 @@ buildPythonPackage rec {
|
|||||||
# no tests
|
# no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Automatically updated list of valid TLDs taken directly from IANA";
|
description = "Automatically updated list of valid TLDs taken directly from IANA";
|
||||||
homepage = "https://github.com/kichik/tlds";
|
homepage = "https://github.com/kichik/tlds";
|
||||||
|
Loading…
Reference in New Issue
Block a user