Updating from trunk. I only had to take away the usual stdenv2 in
all-packages.nix svn path=/nixpkgs/branches/stdenv-updates/; revision=24553
This commit is contained in:
@@ -6,16 +6,14 @@
|
||||
assert sslSupport -> openssl != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.16";
|
||||
version = "2.2.17";
|
||||
name = "apache-httpd-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
|
||||
sha1 = "ef92f5b3124fe5e9ba6121ea7f4bab8c014068f9";
|
||||
sha256 = "017vc5g0dwjycai2qa8427vkw6wpa57ylhajw6nrmynq7qgg32l6";
|
||||
};
|
||||
|
||||
#inherit sslSupport;
|
||||
|
||||
buildInputs = [perl apr aprutil pcre] ++
|
||||
stdenv.lib.optional sslSupport openssl;
|
||||
|
||||
@@ -46,5 +44,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Apache HTTPD, the world's most popular web server";
|
||||
homepage = http://httpd.apache.org/;
|
||||
license = "ASL2.0";
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,8 @@ stdenv.mkDerivation {
|
||||
virtually any type of web application, but the result is generally
|
||||
more scalable.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,12 +11,17 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ apacheHttpd python ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -r -i "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" configure
|
||||
sed -r -i -e "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" \
|
||||
${if stdenv.isDarwin then "-e 's|/usr/bin/lipo|lipo|'" else ""} \
|
||||
configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://code.google.com/p/modwsgi/";
|
||||
description = "Host Python applications in Apache through the WSGI interface";
|
||||
license = "ASL2.0";
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user