about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/fcgi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/fcgi/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/fcgi/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/fcgi/default.nix b/nixpkgs/pkgs/development/libraries/fcgi/default.nix
new file mode 100644
index 000000000000..1ec666a920c3
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/fcgi/default.nix
@@ -0,0 +1,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;
+  };
+}