2019-10-27 15:10:41 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, httplib2, requests }:
|
2019-08-26 16:41:02 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mailmanclient";
|
2019-10-24 07:47:37 +01:00
|
|
|
version = "3.3.0";
|
2019-08-26 16:41:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:37 +01:00
|
|
|
sha256 = "c8736cbe152ae1bd58b46ccfbcafb6a1e301513530772e7fda89f91d1e5c1ae9";
|
2019-08-26 16:41:02 +01:00
|
|
|
};
|
|
|
|
|
2019-10-27 15:10:41 +00:00
|
|
|
propagatedBuildInputs = [ six httplib2 requests ];
|
|
|
|
|
|
|
|
# no tests with Pypi tar ball, checkPhase removes setup.py which invalidates import check
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mailmanclient" ];
|
2019-08-26 21:51:33 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://www.gnu.org/software/mailman/";
|
|
|
|
description = "REST client for driving Mailman 3";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ peti globin ];
|
|
|
|
};
|
2019-08-26 16:41:02 +01:00
|
|
|
}
|