about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2014-05-10 18:37:58 +0200
committerLuca Bruno <lethalman88@gmail.com>2014-06-04 10:20:19 +0200
commit12f06b3cc3f57a18cb285fd2274292faa6eb038d (patch)
treed791e9d00a25ce09201593abffc2660c2c153f2f /pkgs
parentda55068a8d03bf743a0645afcc77d124072c4f2a (diff)
downloadnixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar.gz
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar.bz2
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar.lz
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar.xz
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.tar.zst
nixlib-12f06b3cc3f57a18cb285fd2274292faa6eb038d.zip
fcgiwrap: new package
Simple server for running CGI applications over FastCGI

https://nginx.localdomain.pl/wiki/FcgiWrap
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/servers/fcgiwrap/default.nix21
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix
new file mode 100644
index 000000000000..84deebcb8f5b
--- /dev/null
+++ b/pkgs/servers/fcgiwrap/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, systemd, fcgi, autoreconfHook, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  name = "fcgiwrap-${version}";
+  version = "1.1.0";
+
+  src = fetchurl {
+    url = "http://github.com/gnosek/fcgiwrap/archive/${version}.tar.gz";
+    sha256 = "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac";
+  };
+
+  configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
+
+  buildInputs = [ autoreconfHook systemd fcgi pkgconfig ];
+
+  meta = with stdenv.lib; {
+    homepage = https://nginx.localdomain.pl/wiki/FcgiWrap;
+    description = "Simple server for running CGI applications over FastCGI";
+    maintainers = with maintainers; [ lethalman ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index ede5259f1ba4..5080ca81db26 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6602,6 +6602,8 @@ let
 
   elasticmq = callPackage ../servers/elasticmq { };
 
+  fcgiwrap = callPackage ../servers/fcgiwrap { };
+
   felix = callPackage ../servers/felix { };
 
   felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };