at 24.11-pre 679 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "tlds"; 10 version = "2023110300"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "kichik"; 15 repo = "tlds"; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-rmKqY7Z4bBR4r+w4gH04g0Xm9N7QeMVcuFR3pB/pOQY="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 pythonImportsCheck = [ "tlds" ]; 23 24 # no tests 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Automatically updated list of valid TLDs taken directly from IANA"; 29 homepage = "https://github.com/mweinelt/tlds"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ hexa ]; 32 }; 33}