2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django-gravatar2, django_compressor
|
2020-04-24 23:36:52 +00:00
|
|
|
, django-allauth, mailmanclient, django, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-mailman3";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "cd3cb1ac26a3658bd694b82f00eaab98903bd2edff34956e90c187c9ab5c0dae";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django-gravatar2 django_compressor django-allauth mailmanclient
|
|
|
|
];
|
|
|
|
checkInputs = [ django mock ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd $NIX_BUILD_TOP/$sourceRoot
|
|
|
|
PYTHONPATH=.:$PYTHONPATH django-admin.py test --settings=django_mailman3.tests.settings_test
|
|
|
|
'';
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
pythonImportsCheck = [ "django_mailman3" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Django library for Mailman UIs";
|
|
|
|
homepage = "https://gitlab.com/mailman/django-mailman3";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-04-18 02:13:31 +00:00
|
|
|
maintainers = with maintainers; [ globin peti qyliss ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|