a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
47 lines
844 B
Nix
47 lines
844 B
Nix
{ lib
|
|
, python3
|
|
, mailman
|
|
}:
|
|
|
|
with python3.pkgs;
|
|
buildPythonPackage rec {
|
|
pname = "mailman-hyperkitty";
|
|
version = "1.2.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-+Nad+8bMtYKJbUCpppRXqhB1zdbvvFXTTHlwJLQLzDg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
mailman
|
|
requests
|
|
zope_interface
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
nose2
|
|
];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m nose2 -v
|
|
'';
|
|
|
|
# There is an AssertionError
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"mailman_hyperkitty"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Mailman archiver plugin for HyperKitty";
|
|
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ globin qyliss ];
|
|
};
|
|
}
|