nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 813 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 meson, 6 ninja, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "spawn-fcgi"; 11 version = "1.6.6"; 12 13 src = fetchurl { 14 url = "https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-${finalAttrs.version}.tar.xz"; 15 hash = "sha256-yWI0XuzwVT7dm/XPYe5F59EYN/NANwZ/vaFlz0rdzhg="; 16 }; 17 18 nativeBuildInputs = [ 19 meson 20 ninja 21 ]; 22 23 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-implicit-function-declaration"; 24 25 meta = { 26 homepage = "https://redmine.lighttpd.net/projects/spawn-fcgi"; 27 description = "Provides an interface to external programs that support the FastCGI interface"; 28 mainProgram = "spawn-fcgi"; 29 license = lib.licenses.bsd3; 30 maintainers = [ ]; 31 platforms = with lib.platforms; unix; 32 }; 33})