Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / fcgi / default.nix
blob5c7f0c44f91c98589df2a5d603bf899a05ea82c8
1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "fcgi";
5   version = "2.4.2";
7   src = fetchFromGitHub {
8     owner = "FastCGI-Archives";
9     repo = "fcgi2";
10     rev = version;
11     sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
16   postInstall = "ln -s . $out/include/fastcgi";
18   meta = with lib; {
19     description = "A language independent, scalable, open extension to CG";
20     homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
21     license = "FastCGI see LICENSE.TERMS";
22     mainProgram = "cgi-fcgi";
23     platforms = platforms.all;
24   };