15 buildPythonPackage rec {
18 disabled = pythonOlder "3.6";
21 inherit pname version;
22 sha256 = "cfae9bc8bda37c3e8c7c8639711ad20e95dc85b207a256b60b0b23d7ff5540ea";
25 nativeBuildInputs = [ setuptools-scm ];
27 propagatedBuildInputs = [
41 substituteInPlace pytest.ini --replace " --pylint" ""
44 pythonImportsCheck = [ "tldextract" ];
47 description = "Python module to accurately separate the TLD from the domain of an URL";
49 tldextract accurately separates the gTLD or ccTLD (generic or country code top-level domain)
50 from the registered domain and subdomains of a URL.
52 homepage = "https://github.com/john-kurkowski/tldextract";
53 license = with licenses; [ bsd3 ];
54 maintainers = with maintainers; [ fab ];