mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
2bdf5c4fec
svn path=/nixpkgs/trunk/; revision=24467
26 lines
664 B
Nix
26 lines
664 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 "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" 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 ];
|
|
};
|
|
}
|