python3Packages.feedparser: 6.0.6 -> 6.0.8

This commit is contained in:
Fabian Affolter 2021-06-23 23:14:29 +02:00 committed by Jonathan Ringer
parent 7a489067f1
commit 5555f34784

View File

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