You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
838 B
48 lines
838 B
3 years ago
|
{ lib
|
||
2 years ago
|
, python3
|
||
3 years ago
|
, mailman
|
||
|
}:
|
||
5 years ago
|
|
||
2 years ago
|
with python3.pkgs;
|
||
5 years ago
|
buildPythonPackage rec {
|
||
|
pname = "mailman-hyperkitty";
|
||
3 years ago
|
version = "1.2.0";
|
||
3 years ago
|
format = "setuptools";
|
||
5 years ago
|
|
||
3 years ago
|
disabled = pythonOlder "3.9";
|
||
|
|
||
5 years ago
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
3 years ago
|
sha256 = "sha256-EQBx1KX3z/Wv3QAHOi+s/ihLOjpiupIQBYyE6IPbJto=";
|
||
5 years ago
|
};
|
||
|
|
||
3 years ago
|
propagatedBuildInputs = [
|
||
|
mailman
|
||
|
requests
|
||
|
zope_interface
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
mock
|
||
|
nose2
|
||
|
];
|
||
5 years ago
|
|
||
|
checkPhase = ''
|
||
3 years ago
|
${python.interpreter} -m nose2 -v
|
||
5 years ago
|
'';
|
||
3 years ago
|
|
||
|
# There is an AssertionError
|
||
5 years ago
|
doCheck = false;
|
||
|
|
||
3 years ago
|
pythonImportsCheck = [
|
||
|
"mailman_hyperkitty"
|
||
|
];
|
||
|
|
||
3 years ago
|
meta = with lib; {
|
||
5 years ago
|
description = "Mailman archiver plugin for HyperKitty";
|
||
4 years ago
|
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";
|
||
3 years ago
|
license = licenses.gpl3Plus;
|
||
3 years ago
|
maintainers = with maintainers; [ globin qyliss ];
|
||
5 years ago
|
};
|
||
|
}
|