mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
a758ae44cf
This errored since ca8aa5d
, but should be safe.
Warning is left on (instead of completely disabled),
to not hide potential other fallthroughs if someone
was to make changes to fcgiwrap with this package.
30 lines
999 B
Nix
30 lines
999 B
Nix
{ 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";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
|
|
configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ systemd fcgi ];
|
|
|
|
# systemd 230 no longer has libsystemd-daemon as a separate entity from libsystemd
|
|
postPatch = ''
|
|
substituteInPlace configure.ac --replace libsystemd-daemon libsystemd
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://nginx.localdomain.pl/wiki/FcgiWrap;
|
|
description = "Simple server for running CGI applications over FastCGI";
|
|
maintainers = with maintainers; [ lethalman ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|