18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
26 owner = "john-kurkowski";
28 rev = "refs/tags/${version}";
29 hash = "sha256-rieDDSCit9UcMpCMs2X3+cCS41Wbrp4WWVMzKj/jwEM=";
37 propagatedBuildInputs = [
51 pythonImportsCheck = [ "tldextract" ];
54 description = "Python module to accurately separate the TLD from the domain of an URL";
56 tldextract accurately separates the gTLD or ccTLD (generic or country code top-level domain)
57 from the registered domain and subdomains of a URL.
59 homepage = "https://github.com/john-kurkowski/tldextract";
60 changelog = "https://github.com/john-kurkowski/tldextract/blob/${version}/CHANGELOG.md";
61 license = with licenses; [ bsd3 ];
62 maintainers = with maintainers; [ fab ];
63 mainProgram = "tldextract";