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-03-09 03:18:52 +00:00
|
|
|
version = "1.3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "368595b3c2623edeaca5beea5f12887424c384edd6f7052cf442443075084313";
|
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
|
|
|
};
|
|
|
|
}
|