Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00be1f9
commit 6b5e5de
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
pkgs/applications/networking/feedreaders/rss2email/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ pythonPackages, fetchurl, lib }: | ||
|
||
with pythonPackages; | ||
|
||
buildPythonApplication rec { | ||
name = "${pname}-${version}"; | ||
pname = "rss2email"; | ||
version = "3.9"; | ||
|
||
propagatedBuildInputs = [ feedparser beautifulsoup4 html2text ]; | ||
|
||
src = fetchurl { | ||
url = "mirror://pypi/r/rss2email/${name}.tar.gz"; | ||
sha256 = "02wj9zhmc2ym8ba1i0z9pm1c622z2fj7fxwagnxbvpr1402ahmr5"; | ||
}; | ||
|
||
postInstall = '' | ||
install -Dm 644 r2e.1 $out/share/man/man1/r2e.1 | ||
# an alias for better finding the manpage | ||
ln -s -T r2e.1 $out/share/man/man1/rss2email.1 | ||
''; | ||
|
||
meta = with lib; { | ||
description = "A tool that converts RSS/Atom newsfeeds to email."; | ||
homepage = "https://pypi.python.org/pypi/rss2email"; | ||
license = licenses.gpl2; | ||
maintainers = with maintainers; [ jb55 profpatsch ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters