Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4}: 5 6buildPythonPackage rec { 7 pname = "tlds"; 8 version = "2023050900"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "kichik"; 13 repo = "tlds"; 14 rev = "refs/tags/${version}"; 15 hash = "sha256-Fm2cRhUb1Gsr7mrcym/JjYAeG8f3RDhUnxzYIvpxmQE="; 16 }; 17 18 pythonImportsCheck = [ 19 "tlds" 20 ]; 21 22 # no tests 23 doCheck = false; 24 25 meta = with lib; { 26 description = "Automatically updated list of valid TLDs taken directly from IANA"; 27 homepage = "https://github.com/mweinelt/tlds"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ hexa ]; 30 }; 31}