mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
48b86237e5
According to Hydra: at `mod_fastcgi' [system = "i686-darwin"]: assertion failed at `/nix/store/jjbzdiilypsb8z38647hav2fxlp0bwfd-nixpkgs-r27790/pkgs/servers/http/apache-httpd/default.nix:8:1' at `mod_fastcgi' [system = "x86_64-darwin"]: assertion failed at `/nix/store/jjbzdiilypsb8z38647hav2fxlp0bwfd-nixpkgs-r27790/pkgs/servers/http/apache-httpd/default.nix:8:1' at `mod_wsgi' [system = "i686-darwin"]: assertion failed at `/nix/store/jjbzdiilypsb8z38647hav2fxlp0bwfd-nixpkgs-r27790/pkgs/servers/http/apache-httpd/default.nix:8:1' at `mod_wsgi' [system = "x86_64-darwin"]: assertion failed at `/nix/store/jjbzdiilypsb8z38647hav2fxlp0bwfd-nixpkgs-r27790/pkgs/servers/http/apache-httpd/default.nix:8:1' svn path=/nixpkgs/trunk/; revision=27793
28 lines
748 B
Nix
28 lines
748 B
Nix
{ stdenv, fetchurl, apacheHttpd, python }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "mod_wsgi-3.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz";
|
|
sha256 = "0hrjksym0dlqn1ka1yf3x6ar801zqxfykwcxazjwz104k5w10vnr";
|
|
};
|
|
|
|
buildInputs = [ apacheHttpd python ];
|
|
|
|
patchPhase = ''
|
|
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.linux;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|