2015-01-27 13:35:09 +01:00
|
|
|
{ stdenv, fetchurl, python, dnspython }:
|
2013-10-21 15:02:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-01-27 13:35:09 +01:00
|
|
|
name = "mailman-2.1.18";
|
2013-10-21 15:02:35 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mailman/${name}.tgz";
|
2015-01-27 13:35:09 +01:00
|
|
|
sha256 = "0jc360crakvpz71msl0h11zv3849fqzlj9jfh1g7x3j4459n07fw";
|
2013-10-21 15:02:35 +02:00
|
|
|
};
|
|
|
|
|
2015-01-27 13:35:09 +01:00
|
|
|
buildInputs = [ python dnspython ];
|
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;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
};
|
|
|
|
}
|