rss2email: 3.9 -> 3.10
This commit is contained in:
parent
404caba16b
commit
a80eef922d
@ -43,9 +43,8 @@ in {
|
|||||||
<literal>[DEFAULT]</literal> block along with the
|
<literal>[DEFAULT]</literal> block along with the
|
||||||
<literal>to</literal> parameter.
|
<literal>to</literal> parameter.
|
||||||
|
|
||||||
See
|
See <literal>man r2e</literal> for more information on which
|
||||||
<literal>https://github.com/rss2email/rss2email/blob/master/r2e.1</literal>
|
parameters are accepted.
|
||||||
for more information on which parameters are accepted.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4,15 +4,13 @@ with pythonPackages;
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "rss2email";
|
pname = "rss2email";
|
||||||
version = "3.9"; # TODO: on next bump, the manpage will be updated.
|
version = "3.10";
|
||||||
# Update nixos/modules/services/mail/rss2email.nix to point to it instead of
|
|
||||||
# to the online r2e.1
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ feedparser beautifulsoup4 html2text ];
|
propagatedBuildInputs = [ feedparser beautifulsoup4 html2text ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://pypi/r/rss2email/${pname}-${version}.tar.gz";
|
url = "mirror://pypi/r/rss2email/${pname}-${version}.tar.gz";
|
||||||
sha256 = "02wj9zhmc2ym8ba1i0z9pm1c622z2fj7fxwagnxbvpr1402ahmr5";
|
sha256 = "1yjgbgpq9jjmpywwk6n4lzb2k7mqgdgfgm4jckv4zy0fn595pih1";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" "doc" ];
|
outputs = [ "out" "man" "doc" ];
|
||||||
@ -30,14 +28,12 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
# copy documentation
|
# copy documentation
|
||||||
mkdir -p $doc/share/doc/rss2email
|
mkdir -p $doc/share/doc/rss2email
|
||||||
cp AUTHORS COPYING CHANGELOG README $doc/share/doc/rss2email/
|
cp AUTHORS COPYING CHANGELOG README.rst $doc/share/doc/rss2email/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The tests currently fail, see
|
postCheck = ''
|
||||||
# https://github.com/rss2email/rss2email/issues/14
|
env PATH=$out/bin:$PATH python ./test/test.py
|
||||||
# postCheck = ''
|
'';
|
||||||
# env PYTHONPATH=.:$PYTHONPATH python ./test/test.py
|
|
||||||
# '';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tool that converts RSS/Atom newsfeeds to email.";
|
description = "A tool that converts RSS/Atom newsfeeds to email.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user