mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ec3e40cf24
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-django-mailman3/versions
31 lines
844 B
Nix
31 lines
844 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, django-gravatar2, django_compressor
|
|
, django-allauth, mailmanclient, django, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-mailman3";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0wppv1q3jkkg2d66qsygc4dfpvhfcj5i2as2xpqnzf3l3w7dgja1";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Django library for Mailman UIs";
|
|
homepage = https://gitlab.com/mailman/django-mailman3;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ globin peti ];
|
|
};
|
|
}
|