summary refs log tree commit diff
path: root/pkgs/development/libraries/fcgi/default.nix
blob: 1ec666a920c388de17b00e27efd2d1bf3e413b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "fcgi";
  version = "2.4.2";

  src = fetchFromGitHub {
    owner = "FastCGI-Archives";
    repo = "fcgi2";
    rev = version;
    sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
  };

  nativeBuildInputs = [ autoreconfHook ];

  postInstall = "ln -s . $out/include/fastcgi";

  meta = with lib; {
    description = "A language independent, scalable, open extension to CG";
    homepage = "http://www.fastcgi.com/";
    license = "FastCGI see LICENSE.TERMS";
    platforms = platforms.all;
  };
}