nixpkgs/pkgs/servers/fcgiwrap/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1,003 B
Nix
Raw Normal View History

2021-09-19 15:26:10 +02:00
{ lib, stdenv, fetchFromGitHub, systemd, fcgi, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "fcgiwrap";
version = "1.1.0";
2021-09-19 15:26:10 +02:00
src = fetchFromGitHub {
owner = "gnosek";
repo = "fcgiwrap";
rev = version;
hash = "sha256-znAsZk+aB2XO2NK8Mjc+DLwykYKHolnVQPErlaAx3Oc=";
};
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
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 lib; {
2022-02-06 11:26:06 +01:00
homepage = "https://github.com/gnosek/fcgiwrap";
description = "Simple server for running CGI applications over FastCGI";
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
2020-06-30 21:41:19 +02:00
license = licenses.mit;
};
}