mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
apacheHttpd,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mod_fastcgi";
|
|
version = "2.4.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FastCGI-Archives";
|
|
repo = "mod_fastcgi";
|
|
rev = version;
|
|
hash = "sha256-ovir59kCjKkgbraX23nsmzlMzGdeNTyj3MQd8cgvLsg=";
|
|
};
|
|
|
|
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.
|
|
'';
|
|
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|