nixpkgs/pkgs/servers/http/apache-modules/mod_fastcgi/default.nix

47 lines
1.5 KiB
Nix
Raw Normal View History

2021-01-15 07:07:56 +00:00
{ lib, stdenv, fetchurl, apacheHttpd }:
2019-03-05 11:06:40 +00:00
let
apache-24-patch = fetchurl {
name = "compile-against-apache24.diff";
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/compile-against-apache24.diff?h=packages/mod_fastcgi&id=81c7cb99d15682df3bdb1edcaeea5259e9e43a42";
sha256 = "000qvrf5jb979i37rimrdivcgjijcffgrpkx38c0rn62z9jz61g4";
};
2019-03-05 11:06:40 +00:00
in
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "mod_fastcgi";
version = "2.4.7.1";
src = fetchurl {
2019-03-05 11:06:40 +00:00
url = "https://github.com/FastCGI-Archives/mod_fastcgi/archive/${version}.tar.gz";
sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
};
2019-03-05 11:06:40 +00:00
patches = [ apache-24-patch ];
buildInputs = [ apacheHttpd ];
preBuild = ''
cp Makefile.AP2 Makefile
makeFlags="top_dir=${apacheHttpd.dev}/share prefix=$out"
'';
meta = {
homepage = "https://github.com/FastCGI-Archives/mod_fastcgi";
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.
'';
2021-01-15 07:07:56 +00:00
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.peti ];
};
}