2015-10-28 18:23:17 +01:00
|
|
|
{ stdenv, fetchurl, python, pythonPackages }:
|
2013-10-21 15:02:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-24 00:43:21 +02:00
|
|
|
name = "mailman-2.1.23";
|
2013-10-21 15:02:35 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mailman/${name}.tgz";
|
2016-09-24 00:43:21 +02:00
|
|
|
sha256 = "0s9ywix4m3n7qa0baws744ildg48hsa87jahpsfiqqilhmpwl8mh";
|
2013-10-21 15:02:35 +02:00
|
|
|
};
|
|
|
|
|
2015-10-28 18:23:17 +01:00
|
|
|
buildInputs = [ python pythonPackages.dns ];
|
2013-10-21 15:02:35 +02: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'.
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.gnu.org/software/mailman/";
|
|
|
|
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 22:30:20 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2013-10-21 15:02:35 +02:00
|
|
|
};
|
|
|
|
}
|