nixpkgs/pkgs/development/libraries/fcgi/default.nix
Peter Simons 13c9e2b285 fcgi: added "fastcgi -> ." symlink in $out/include to fix compilation of
packages that expect the fastcgi library headers in a sub-directory
(which is the way they're installed on some platforms, i.e. CentOS).

svn path=/nixpkgs/trunk/; revision=30790
2011-12-07 10:29:52 +00:00

21 lines
494 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "fcgi-2.4.0";
src = fetchurl {
url = "http://www.fastcgi.com/dist/${name}.tar.gz";
sha256 = "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36";
};
patches = [ ./gcc-4.4.diff ];
postInstall = "ln -s . $out/include/fastcgi";
meta = {
description = "FastCGI is a language independent, scalable, open extension to CG";
homepage = http://www.fastcgi.com/;
license = "FastCGI see LICENSE.TERMS";
};
}