2022-08-12 12:06:08 +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";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "1.3.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-C3ZyiQZ50JFg2e+HS0oIJFK+dV8TcDYehVh875zBRFU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
django-gravatar2 django-compressor django-allauth mailmanclient
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ django mock ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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-10-17 02:12:59 +00:00
|
|
|
maintainers = with maintainers; [ globin qyliss ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|