depot/third_party/nixpkgs/pkgs/tools/misc/mailman-rss/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

25 lines
698 B
Nix

{ lib, python3Packages, fetchPypi, withTwitter ? false}:
python3Packages.buildPythonApplication rec {
pname = "mailman-rss";
version = "0.2.4";
src = 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 ];
};
}