lol
1{ stdenv, fetchurl, systemd, fcgi, autoreconfHook, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "fcgiwrap-${version}";
5 version = "1.1.0";
6
7 src = fetchurl {
8 url = "http://github.com/gnosek/fcgiwrap/archive/${version}.tar.gz";
9 sha256 = "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac";
10 };
11
12 configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
13
14 buildInputs = [ autoreconfHook systemd fcgi pkgconfig ];
15
16 meta = with stdenv.lib; {
17 homepage = https://nginx.localdomain.pl/wiki/FcgiWrap;
18 description = "Simple server for running CGI applications over FastCGI";
19 maintainers = with maintainers; [ lethalman ];
20 };
21}