1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy27 5}: 6 7buildPythonPackage rec { 8 pname = "sgmllib3k"; 9 version = "1.0.0"; 10 disabled = isPy27; 11 12 # fetchFromGitHub instead of fetchPypi to run tests. 13 src = fetchFromGitHub { 14 owner = "hsoft"; 15 repo = "sgmllib"; 16 rev = "799964676f35349ca2dd04503e34c2b3ad522c0d"; 17 sha256 = "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr"; 18 }; 19 20 meta = with lib; { 21 homepage = "https://pypi.org/project/sgmllib3k/"; 22 description = "Python 3 port of sgmllib"; 23 license = licenses.bsd2; 24 maintainers = with maintainers; [ lovesegfault ]; 25 }; 26}