at master 733 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 nix-update-script, 7}: 8 9buildPythonPackage rec { 10 pname = "tlds"; 11 version = "2025082700"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "kichik"; 16 repo = "tlds"; 17 tag = version; 18 hash = "sha256-sMK+jglwhF8FX8yLDHBtheudfg20MOJhk+zHznQ0hbk="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 pythonImportsCheck = [ "tlds" ]; 24 25 # no tests 26 doCheck = false; 27 28 passthru.updateScript = nix-update-script { }; 29 30 meta = with lib; { 31 description = "Automatically updated list of valid TLDs taken directly from IANA"; 32 homepage = "https://github.com/kichik/tlds"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ hexa ]; 35 }; 36}