1 { lib, buildPythonPackage, fetchPypi }:
3 buildPythonPackage rec {
4 pname = "publicsuffix";
9 sha256 = "22ce1d65ab6af5e9b2122e2443facdb93fb5c4abf24138099cb10fe7989f43b6";
13 # disable test_fetch and the doctests (which also invoke fetch)
15 sed -i -e "/def test_fetch/i\\
16 \\t@unittest.skip('requires internet')" -e "/def additional_tests():/,+1d" tests.py
20 description = "Allows to get the public suffix of a domain name";
21 homepage = "https://pypi.python.org/pypi/publicsuffix/";
22 license = licenses.mit;