@ -3,26 +3,33 @@
} :
buildPythonPackage rec {
pname = " m a i l m a n - w e b - u n s t a b l e ";
version = " 2 0 1 9 - 0 9 - 2 9 " ;
pname = " m a i l m a n - w e b " ;
version = " u n s t a b l e - 20 2 1 - 0 4 - 1 0 " ;
disabled = ! isPy3k ;
src = fetchgit {
url = " h t t p s : / / g i t l a b . c o m / m a i l m a n / m a i l m a n - w e b " ;
rev = " d 1 7 2 0 3 b 4 d 6 b d c 7 1 c 2 b 4 0 8 9 1 7 5 7 f 5 7 a 3 2 f 3 d e 5 3 d 5 " ;
sha256 = " 1 2 4 c x r 4 v f i 1 i b g x y g k 4 l 7 4 q 4 f y s x 0 a 6 p g a 1 k k 9 p 5 w q 2 y v z w g 9 z 3 n " ;
rev = " 1 9 a 7 a b e 2 7 d d 3 b c 3 9 c 0 2 5 0 4 4 0 d e 0 7 3 f 0 a d e c d 4 d a 1 " ;
sha256 = " 0 h 2 5 1 4 0 n 2 j a i s l 0 r i 5 x 7 g d m b y p i y s 8 v l q 8 d q l 1 z m a x v q 4 5 9 y b x k n " ;
leaveDotGit = true ;
} ;
# This is just so people installing from pip also get uwsgi
# installed, AFAICT.
# Django is depended on transitively by hyperkitty and postorius,
# and mailman_web has overly restrictive version bounds on it, so
# let's remove it.
postPatch = ''
# This is just so people installing from pip also get uwsgi
# installed, AFAICT.
sed - i ' / ^ uwsgi $ /d ' setup . cfg
# Django is depended on transitively by hyperkitty and postorius,
# and mailman_web has overly restrictive version bounds on it, so
# let's remove it.
sed - i ' / ^ Django/d ' setup . cfg
# Upstream seems to mostly target installing on top of existing
# distributions, and uses a path appropriate for that, but we are
# a distribution, so use a state directory appropriate for a
# distro package.
substituteInPlace mailman_web/settings/base.py \
- - replace /opt/mailman/web /var/lib/mailman-web
'' ;
nativeBuildInputs = [ git makeWrapper setuptools-scm ] ;
@ -38,7 +45,7 @@ buildPythonPackage rec {
meta = with lib ; {
description = " D j a n g o p r o j e c t f o r M a i l m a n 3 w e b i n t e r f a c e " ;
license = licenses . gpl3 ;
maintainers = with maintainers ; [ peti qyliss ] ;
license = licenses . gpl3Plus ;
maintainers = with maintainers ; [ peti qyliss m1cr0man ] ;
} ;
}