Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 601 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, sgmllib3k 6}: 7 8buildPythonPackage rec { 9 pname = "feedparser"; 10 version = "6.0.2"; 11 disabled = isPy27; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1b00a105425f492f3954fd346e5b524ca9cef3a4bbf95b8809470e9857aa1074"; 16 }; 17 18 propagatedBuildInputs = [ sgmllib3k ]; 19 20 checkPhase = '' 21 python -Wd tests/runtests.py 22 ''; 23 24 meta = with lib; { 25 homepage = "https://github.com/kurtmckee/feedparser"; 26 description = "Universal feed parser"; 27 license = licenses.bsd2; 28 maintainers = with maintainers; [ domenkozar ]; 29 }; 30 31}