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