diff options
Diffstat (limited to 'pkgs/tools/misc/mailman-rss/default.nix')
-rw-r--r-- | pkgs/tools/misc/mailman-rss/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/mailman-rss/default.nix b/pkgs/tools/misc/mailman-rss/default.nix new file mode 100644 index 0000000000000..f71b62c67fc40 --- /dev/null +++ b/pkgs/tools/misc/mailman-rss/default.nix @@ -0,0 +1,25 @@ +{ lib, python3Packages, withTwitter ? false}: + +python3Packages.buildPythonApplication rec { + pname = "mailman-rss"; + version = "0.2.4"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "1brrik70jyagxa9l0cfmlxvqpilwj1q655bphxnvjxyganxf4c00"; + }; + + propagatedBuildInputs = with python3Packages; [ python-dateutil future requests beautifulsoup4 ] + ++ lib.optional withTwitter python3Packages.twitter + ; + + # No tests in Pypi Tarball + doCheck = false; + + meta = with lib; { + description = "Mailman archive -> rss converter"; + homepage = "https://github.com/kyamagu/mailman-rss"; + license = licenses.mit; + maintainers = with maintainers; [ samueldr ]; + }; +} |