summary refs log tree commit diff
path: root/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-10-21 15:39:48 +0000
committerPeter Simons <simons@cryp.to>2010-10-21 15:39:48 +0000
commitc7a87b1669f875e9d84830a1bd8d98bb48147d87 (patch)
treea7c97409d49537961f9cc857e1cf911e324342d0 /pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
parentac19af507f5e2dba6258cf3c5ad24e55037d48a9 (diff)
downloadnixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar.gz
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar.bz2
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar.lz
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar.xz
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.tar.zst
nixpkgs-c7a87b1669f875e9d84830a1bd8d98bb48147d87.zip
Added an expression for mod_fastcgi-2.4.6, to be used with Apache 2.
svn path=/nixpkgs/trunk/; revision=24406
Diffstat (limited to 'pkgs/servers/http/apache-modules/mod_fastcgi/default.nix')
-rw-r--r--pkgs/servers/http/apache-modules/mod_fastcgi/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix b/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
new file mode 100644
index 00000000000..5c32b2c4572
--- /dev/null
+++ b/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, apacheHttpd }:
+
+stdenv.mkDerivation {
+  name = "mod_fastcgi-2.4.6";
+
+  src = fetchurl {
+    url = "http://www.fastcgi.com/dist/mod_fastcgi-2.4.6.tar.gz";
+    sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
+  };
+
+  buildInputs = [ apacheHttpd ];
+
+  preBuild = ''
+    cp Makefile.AP2 Makefile
+    makeFlags="top_dir=${apacheHttpd} prefix=$out"
+  '';
+
+  meta = {
+    homepage = "http://www.fastcgi.com/";
+    description = "Provide support for the FastCGI protocol";
+
+    longDescription = ''
+      mod_fastcgi is a module for the Apache web server that enables
+      FastCGI - a standards based protocol for communicating with
+      applications that generate dynamic content for web pages. FastCGI
+      provides a superset of CGI functionality, but a subset of the
+      functionality of programming for a particular web server API.
+      Nonetheless, the feature set is rich enough for programming
+      virtually any type of web application, but the result is generally
+      more scalable.
+    '';
+  };
+}