1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/servers/fcgiwrap/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

28 lines
914 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";
};
configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
buildInputs = [ autoreconfHook systemd fcgi pkgconfig ];
# 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;
};
}