Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
813 B
Nix

{
lib,
stdenv,
fetchurl,
meson,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "spawn-fcgi";
version = "1.6.6";
src = fetchurl {
url = "https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-${finalAttrs.version}.tar.xz";
hash = "sha256-yWI0XuzwVT7dm/XPYe5F59EYN/NANwZ/vaFlz0rdzhg=";
};
nativeBuildInputs = [
meson
ninja
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-implicit-function-declaration";
meta = {
homepage = "https://redmine.lighttpd.net/projects/spawn-fcgi";
description = "Provides an interface to external programs that support the FastCGI interface";
mainProgram = "spawn-fcgi";
license = lib.licenses.bsd3;
maintainers = [ ];
platforms = with lib.platforms; unix;
};
})