rss2email: add docs and code for running tests

The tests are not working yet (upstream bug).

+14 -2
+14 -2
pkgs/applications/networking/feedreaders/rss2email/default.nix
··· 14 14 sha256 = "02wj9zhmc2ym8ba1i0z9pm1c622z2fj7fxwagnxbvpr1402ahmr5"; 15 15 }; 16 16 17 + outputs = [ "out" "man" "doc" ]; 18 + 17 19 postInstall = '' 18 - install -Dm 644 r2e.1 $out/share/man/man1/r2e.1 20 + install -Dm 644 r2e.1 $man/share/man/man1/r2e.1 19 21 # an alias for better finding the manpage 20 - ln -s -T r2e.1 $out/share/man/man1/rss2email.1 22 + ln -s -T r2e.1 $man/share/man/man1/rss2email.1 23 + 24 + # copy documentation 25 + mkdir -p $doc/share/doc/rss2email 26 + cp AUTHORS COPYING CHANGELOG README $doc/share/doc/rss2email/ 21 27 ''; 28 + 29 + # The tests currently fail, see 30 + # https://github.com/rss2email/rss2email/issues/14 31 + # postCheck = '' 32 + # env PYTHONPATH=.:$PYTHONPATH python ./test/test.py 33 + # ''; 22 34 23 35 meta = with lib; { 24 36 description = "A tool that converts RSS/Atom newsfeeds to email.";