|
|
|
@ -1,18 +1,18 @@ |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchPypi |
|
|
|
|
, isPy27 |
|
|
|
|
, pythonOlder |
|
|
|
|
, sgmllib3k |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "feedparser"; |
|
|
|
|
version = "6.0.6"; |
|
|
|
|
disabled = isPy27; |
|
|
|
|
version = "6.0.8"; |
|
|
|
|
disabled = pythonOlder "3.6"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "1syd15460a6m397rajdpbr9q0hgxm1j6xf9ba18z9pighxdjmxkq"; |
|
|
|
|
sha256 = "sha256-XOBBCgWrJIyMfPyjoOoiA5aO6f9EhgZzea9IJ6WflmE="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sgmllib3k ]; |
|
|
|
@ -21,11 +21,12 @@ buildPythonPackage rec { |
|
|
|
|
python -Wd tests/runtests.py |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "feedparser" ]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
homepage = "https://github.com/kurtmckee/feedparser"; |
|
|
|
|
description = "Universal feed parser"; |
|
|
|
|
license = licenses.bsd2; |
|
|
|
|
maintainers = with maintainers; [ domenkozar ]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|