9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
31 lines
1020 B
Nix
31 lines
1020 B
Nix
{ lib, stdenv, fetchurl, systemd, fcgi, autoreconfHook, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcgiwrap";
|
|
version = "1.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://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 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; {
|
|
homepage = "https://nginx.localdomain.pl/wiki/FcgiWrap";
|
|
description = "Simple server for running CGI applications over FastCGI";
|
|
maintainers = with maintainers; [ lethalman ];
|
|
platforms = with platforms; linux;
|
|
license = licenses.mit;
|
|
};
|
|
}
|