2018-06-03 01:07:26 +00:00
|
|
|
{ stdenv, fetchurl, python2 }:
|
2013-10-21 13:02:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-21 20:01:46 +00:00
|
|
|
name = "mailman-${version}";
|
2018-10-14 12:09:52 +00:00
|
|
|
version = "2.1.29";
|
2013-10-21 13:02:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/mailman/${name}.tgz";
|
2018-10-14 12:09:52 +00:00
|
|
|
sha256 = "0b0dpwf6ap260791c7lg2vpw30llf19hymbf2hja3s016rqp5243";
|
2013-10-21 13:02:35 +00:00
|
|
|
};
|
|
|
|
|
2018-06-03 01:07:26 +00:00
|
|
|
buildInputs = [ python2 python2.pkgs.dnspython ];
|
2013-10-21 13:02:35 +00:00
|
|
|
|
|
|
|
patches = [ ./fix-var-prefix.patch ];
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--without-permcheck"
|
|
|
|
"--with-cgi-ext=.cgi"
|
|
|
|
"--with-var-prefix=/var/lib/mailman"
|
|
|
|
];
|
2013-10-21 13:02:35 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
installTargets = "doinstall"; # Leave out the 'update' target that's implied by 'install'.
|
2013-10-21 13:02:35 +00:00
|
|
|
|
2017-06-28 18:34:21 +00:00
|
|
|
makeFlags = [ "DIRSETGID=:" ];
|
|
|
|
|
2013-10-21 13:02:35 +00:00
|
|
|
meta = {
|
2018-12-01 18:22:13 +00:00
|
|
|
homepage = https://www.gnu.org/software/mailman/;
|
2013-10-21 13:02:35 +00:00
|
|
|
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 20:30:20 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.peti ];
|
2013-10-21 13:02:35 +00:00
|
|
|
};
|
|
|
|
}
|