about summary refs log tree commit diff
path: root/pkgs/by-name/fc/fcgi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fc/fcgi/package.nix')
-rw-r--r--pkgs/by-name/fc/fcgi/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/fc/fcgi/package.nix b/pkgs/by-name/fc/fcgi/package.nix
new file mode 100644
index 0000000000000..62c463b2d2f54
--- /dev/null
+++ b/pkgs/by-name/fc/fcgi/package.nix
@@ -0,0 +1,26 @@
+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "fcgi";
+  version = "2.4.2";
+
+  src = fetchFromGitHub {
+    owner = "FastCGI-Archives";
+    repo = "fcgi2";
+    rev = finalAttrs.version;
+    hash = "sha256-4U/Mc2U7tK/fo4B9NBwYKzDuLApvSzWR4mqWzZ00H8o=";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  postInstall = "ln -s . $out/include/fastcgi";
+
+  meta = {
+    description = "Language independent, scalable, open extension to CGI";
+    homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
+    license = "FastCGI, see LICENSE.TERMS";
+    mainProgram = "cgi-fcgi";
+    platforms = lib.platforms.all;
+    maintainers = with lib.maintainers; [ jtbx ];
+  };
+})