nixpkgs/pkgs/servers/mail/mailman/default.nix

27 lines
807 B
Nix
Raw Normal View History

2013-10-21 15:02:35 +02:00
{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
2014-01-15 16:44:06 +01:00
name = "mailman-2.1.17";
2013-10-21 15:02:35 +02:00
src = fetchurl {
url = "mirror://gnu/mailman/${name}.tgz";
2014-01-15 16:44:06 +01:00
sha256 = "1rws4ghpq78ldp1si3z4pmiv1k4l8g6i6hjb2y4cwsjlxssahc64";
2013-10-21 15:02:35 +02:00
};
buildInputs = [ python ];
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 ];
};
}