nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 36 lines 752 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 nix-update-script, 7}: 8 9buildPythonPackage (finalAttrs: { 10 pname = "tlds"; 11 version = "2026021400"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "kichik"; 16 repo = "tlds"; 17 tag = finalAttrs.version; 18 hash = "sha256-IyIZCBlH918let5qa/fi/SYampE3E+yAVMG17nHF7mk="; 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 = { 31 description = "Automatically updated list of valid TLDs taken directly from IANA"; 32 homepage = "https://github.com/kichik/tlds"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ hexa ]; 35 }; 36})