summary refs log tree commit diff
path: root/pkgs/development/python-modules/mailman-hyperkitty/default.nix
blob: fd89260ab94b7d3400a36d08c5e976afa8edc99a (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
26
{ stdenv, buildPythonPackage, fetchPypi, mailman, mock }:

buildPythonPackage rec {
  pname = "mailman-hyperkitty";
  version = "1.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1lfqa9admhvdv71f528jmz2wl0i5cv77v6l64px2pm4zqr9ckkjx";
  };

  propagatedBuildInputs = [ mailman ];
  checkInputs = [ mock ];

  checkPhase = ''
    python -m nose2 -v
  '';
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Mailman archiver plugin for HyperKitty";
    homepage = https://gitlab.com/mailman/mailman-hyperkitty;
    license = licenses.gpl3;
    maintainers = with maintainers; [ globin peti ];
  };
}