at 23.11-beta 38 lines 1.2 kB view raw
1{ lib, stdenv, fetchFromGitHub, fetchurl, apacheHttpd }: 2 3stdenv.mkDerivation rec { 4 pname = "mod_fastcgi"; 5 version = "2.4.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "FastCGI-Archives"; 9 repo = "mod_fastcgi"; 10 rev = version; 11 hash = "sha256-ovir59kCjKkgbraX23nsmzlMzGdeNTyj3MQd8cgvLsg="; 12 }; 13 14 buildInputs = [ apacheHttpd ]; 15 16 preBuild = '' 17 cp Makefile.AP2 Makefile 18 makeFlags="top_dir=${apacheHttpd.dev}/share prefix=$out" 19 ''; 20 21 meta = { 22 homepage = "https://github.com/FastCGI-Archives/mod_fastcgi"; 23 description = "Provide support for the FastCGI protocol"; 24 25 longDescription = '' 26 mod_fastcgi is a module for the Apache web server that enables 27 FastCGI - a standards based protocol for communicating with 28 applications that generate dynamic content for web pages. FastCGI 29 provides a superset of CGI functionality, but a subset of the 30 functionality of programming for a particular web server API. 31 Nonetheless, the feature set is rich enough for programming 32 virtually any type of web application, but the result is generally 33 more scalable. 34 ''; 35 36 platforms = lib.platforms.linux; 37 }; 38}