2015-10-28 17:23:17 +00:00
|
|
|
{ stdenv, fetchurl, python, pythonPackages }:
|
2013-10-21 14:02:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-21 21:01:46 +01:00
|
|
|
name = "mailman-${version}";
|
|
|
|
version = "2.1.24";
|
2013-10-21 14:02:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mailman/${name}.tgz";
|
2017-08-21 21:01:46 +01:00
|
|
|
sha256 = "1r6sjapjmbav45xibjzc2a8y1xf4ikz09470ma1kw7iz174wn8z7";
|
2013-10-21 14:02:35 +01:00
|
|
|
};
|
|
|
|
|
2017-12-10 14:27:06 +00:00
|
|
|
buildInputs = [ python pythonPackages.dnspython ];
|
2013-10-21 14:02:35 +01:00
|
|
|
|
|
|
|
patches = [ ./fix-var-prefix.patch ];
|
|
|
|
|
|
|
|
configureFlags = "--without-permcheck --with-cgi-ext=.cgi --with-var-prefix=/var/lib/mailman";
|
|
|
|
|
|
|
|
installTargets = "doinstall"; # Leave out the 'update' target that's implied by 'install'.
|
|
|
|
|
2017-06-28 19:34:21 +01:00
|
|
|
makeFlags = [ "DIRSETGID=:" ];
|
|
|
|
|
2013-10-21 14:02:35 +01:00
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.gnu.org/software/mailman/;
|
2013-10-21 14:02:35 +01:00
|
|
|
description = "Free software for managing electronic mail discussion and e-newsletter lists";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-05-16 21:30:20 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2013-10-21 14:02:35 +01:00
|
|
|
};
|
|
|
|
}
|