12 buildPythonPackage rec {
13 pname = "publicsuffixlist";
14 version = "0.10.0.20240420";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-s8xPkes/xFlejqfOlMZOPLmNK92e2TLK18UZmv3/a6I=";
24 build-system = [ setuptools ];
26 passthru.optional-dependencies = {
27 update = [ requests ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "publicsuffixlist" ];
35 pytestFlagsArray = [ "publicsuffixlist/test.py" ];
38 description = "Public Suffix List parser implementation";
39 homepage = "https://github.com/ko-zu/psl";
40 license = licenses.mpl20;
41 maintainers = with maintainers; [ fab ];
42 mainProgram = "publicsuffixlist-download";