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

30 lines
904 B
Nix
Raw Normal View History

2015-10-28 20:23:17 +03:00
{ stdenv, fetchurl, python, pythonPackages }:
2013-10-21 17:02:35 +04:00
stdenv.mkDerivation rec {
2017-08-21 23:01:46 +03:00
name = "mailman-${version}";
version = "2.1.24";
2013-10-21 17:02:35 +04:00
src = fetchurl {
url = "mirror://gnu/mailman/${name}.tgz";
2017-08-21 23:01:46 +03:00
sha256 = "1r6sjapjmbav45xibjzc2a8y1xf4ikz09470ma1kw7iz174wn8z7";
2013-10-21 17:02:35 +04:00
};
buildInputs = [ python pythonPackages.dnspython ];
2013-10-21 17:02:35 +04: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'.
makeFlags = [ "DIRSETGID=:" ];
2013-10-21 17:02:35 +04:00
meta = {
homepage = http://www.gnu.org/software/mailman/;
2013-10-21 17:02:35 +04:00
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 ];
2013-10-21 17:02:35 +04:00
};
}