forked from mirrors/nixpkgs
mod-python unfinished
svn path=/nixpkgs/trunk/; revision=16808
This commit is contained in:
parent
ad292ae9d4
commit
159eebd808
30
pkgs/servers/http/apache-httpd/mod-python.nix
Normal file
30
pkgs/servers/http/apache-httpd/mod-python.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue