diff --git a/pkgs/development/python-modules/mailman-rss/default.nix b/pkgs/development/python-modules/mailman-rss/default.nix new file mode 100644 index 000000000000..afce4521d5b4 --- /dev/null +++ b/pkgs/development/python-modules/mailman-rss/default.nix @@ -0,0 +1,25 @@ +{ stdenv, python3Packages, withTwitter ? false}: + +python3Packages.buildPythonApplication rec { + pname = "mailman-rss"; + version = "0.2.4"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "1brrik70jyagxa9l0cfmlxvqpilwj1q655bphxnvjxyganxf4c00"; + }; + + propagatedBuildInputs = with python3Packages; [ dateutil future requests beautifulsoup4 ] + ++ stdenv.lib.optional withTwitter python3Packages.twitter + ; + + # No tests in Pypi Tarball + doCheck = false; + + meta = with stdenv.lib; { + description = "Mailman archive -> rss converter"; + homepage = https://github.com/kyamagu/mailman-rss; + license = licenses.mit; + maintainers = with maintainers; [ samueldr ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 997fbd7ed732..8638f6299533 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13636,6 +13636,8 @@ in mailman = callPackage ../servers/mail/mailman { }; + mailman-rss = callPackage ../development/python-modules/mailman-rss { }; + mattermost = callPackage ../servers/mattermost { }; matterircd = callPackage ../servers/mattermost/matterircd.nix { }; matterbridge = callPackage ../servers/matterbridge { };