diff --git a/pkgs/servers/http/apache-httpd/mod-python.nix b/pkgs/servers/http/apache-httpd/mod-python.nix new file mode 100644 index 000000000000..5dc18127c53f --- /dev/null +++ b/pkgs/servers/http/apache-httpd/mod-python.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8a459141475e..869f2e73d942 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };