Author: simons
Date: Thu Oct 21 15:39:48 2010
New Revision: 24406
URL: https://svn.nixos.org/websvn/nix/?rev=24406&sc=1
Log:
Added an expression for mod_fastcgi-2.4.6, to be used with Apache 2.
Added:
nixpkgs/trunk/pkgs/servers/http/apache-modules/mod_fastcgi/
nixpkgs/trunk/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
Thu Oct 21 15:39:48 2010 (r24406)
@@ -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.
+ '';
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Oct 21 14:37:03
2010 (r24405)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Oct 21 15:39:48
2010 (r24406)
@@ -4189,6 +4189,8 @@
mod_python = callPackage ../servers/http/apache-modules/mod_python { };
+ mod_fastcgi = callPackage ../servers/http/apache-modules/mod_fastcgi { };
+
mpd = callPackage ../servers/mpd { };
myserver = callPackage ../servers/http/myserver { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits