3
0
Fork 0
forked from mirrors/nixpkgs

mod-python unfinished

svn path=/nixpkgs/trunk/; revision=16808
This commit is contained in:
Marc Weber 2009-08-22 09:33:35 +00:00
parent ad292ae9d4
commit 159eebd808
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,30 @@
args: with args;
stdenv.mkDerivation {
name = "apache-httpd-mod-python-3.3.1";
/*
src = fetchurl {
url = mirror://apache/httpd/modpython/mod_python-3.3.1.tgz;
sha256 = "0sss2xi6l1a2z8y6ji0cp8vgyvnhq8zrg0ilkvpj1mygbzyk28xd";
};
*/
src = sourceByName "apacheHttpdModPython";
buildInputs = [apacheHttpd python];
configurePhase = ''
./configure
'';
installPhase = ''
set -x
make DESTDIR=$out LIBEXECDIR=/modules install_dso
make DESTDIR=$out install_py_lib
'';
meta = {
description = "python module for apache";
homepage = http://httpd.apache.org/modules/python-download.cgi;
license = "Apache 2.0";
};
}

View file

@ -4479,6 +4479,11 @@ let
sslSupport = true;
};
apacheHttpdModPython = import ../servers/http/apache-httpd/mod-python.nix {
inherit stdenv fetchurl apacheHttpd python;
inherit (bleedingEdgeRepos) sourceByName;
};
bind = builderDefsPackage (selectVersion ../servers/dns/bind "9.5.0") {
inherit openssl libtool;
};