python3Packages.mailman-hyperkitty: fix build
This commit is contained in:
parent
9d7df9dcc3
commit
84d5983fb2
1 changed files with 29 additions and 5 deletions
|
@ -1,26 +1,50 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, mailman, mock }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, mailman
|
||||||
|
, mock
|
||||||
|
, nose2
|
||||||
|
, python
|
||||||
|
, requests
|
||||||
|
, zope_interface
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mailman-hyperkitty";
|
pname = "mailman-hyperkitty";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1lfqa9admhvdv71f528jmz2wl0i5cv77v6l64px2pm4zqr9ckkjx";
|
sha256 = "1lfqa9admhvdv71f528jmz2wl0i5cv77v6l64px2pm4zqr9ckkjx";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ mailman ];
|
propagatedBuildInputs = [
|
||||||
checkInputs = [ mock ];
|
mailman
|
||||||
|
requests
|
||||||
|
zope_interface
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
nose2
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
python -m nose2 -v
|
${python.interpreter} -m nose2 -v
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# There is an AssertionError
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"mailman_hyperkitty"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Mailman archiver plugin for HyperKitty";
|
description = "Mailman archiver plugin for HyperKitty";
|
||||||
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";
|
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ globin qyliss ];
|
maintainers = with maintainers; [ globin qyliss ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue