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