1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/mail/mailman/default.nix
2016-09-23 18:43:21 -04:00

27 lines
840 B
Nix

{ stdenv, fetchurl, python, pythonPackages }:
stdenv.mkDerivation rec {
name = "mailman-2.1.23";
src = fetchurl {
url = "mirror://gnu/mailman/${name}.tgz";
sha256 = "0s9ywix4m3n7qa0baws744ildg48hsa87jahpsfiqqilhmpwl8mh";
};
buildInputs = [ python pythonPackages.dns ];
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.peti ];
};
}