depot/third_party/nixpkgs/pkgs/development/python-modules/mailman-hyperkitty/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

53 lines
908 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, mailman
, mock
, nose2
, python
, pythonOlder
, requests
, zope_interface
}:
buildPythonPackage rec {
pname = "mailman-hyperkitty";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-EQBx1KX3z/Wv3QAHOi+s/ihLOjpiupIQBYyE6IPbJto=";
};
propagatedBuildInputs = [
mailman
requests
zope_interface
];
checkInputs = [
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 ];
};
}