about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/mailman-rss/default.nix
blob: 93a3d1e16ac20a2caf1a7c82fc7a0837369df4fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}