Unverified Commit de91c059 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent 6a8a86ed
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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";