···11+{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
22+33+buildPythonPackage rec {
44+ pname = "publicsuffix2";
55+ version = "2.20191221";
66+77+ # Tests are missing in the sdist
88+ # See: https://github.com/nexB/python-publicsuffix2/issues/12
99+ src = fetchFromGitHub {
1010+ owner = "nexB";
1111+ repo = "python-publicsuffix2";
1212+ rev = "release-2.2019-12-21";
1313+ sha256 = "1dkvfvl0izq9hqzilnw8ipkbgjs9xyad9p21i3864hzinbh0wp9r";
1414+ };
1515+1616+ nativeBuildInputs = [ requests ];
1717+1818+ meta = with stdenv.lib; {
1919+ description = ''
2020+ Get a public suffix for a domain name using the Public Suffix
2121+ List. Forked from and using the same API as the publicsuffix package.
2222+ '';
2323+ homepage = "https://pypi.python.org/pypi/publicsuffix2/";
2424+ license = licenses.mpl20;
2525+ };
2626+}