mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
0498ccd076
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
34 lines
903 B
Nix
34 lines
903 B
Nix
{ stdenv, fetchurl, python2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mailman-${version}";
|
|
version = "2.1.29";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/mailman/${name}.tgz";
|
|
sha256 = "0b0dpwf6ap260791c7lg2vpw30llf19hymbf2hja3s016rqp5243";
|
|
};
|
|
|
|
buildInputs = [ python2 python2.pkgs.dnspython ];
|
|
|
|
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=:" ];
|
|
|
|
meta = {
|
|
homepage = https://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 ];
|
|
};
|
|
}
|