spawn_fcgi: 1.6.4 -> 1.6.6

+12 -14
+12 -14
pkgs/by-name/sp/spawn_fcgi/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchsvn, 5 - autoconf, 6 - automake, 4 + fetchurl, 5 + meson, 6 + ninja, 7 7 }: 8 8 9 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 10 10 pname = "spawn-fcgi"; 11 - version = "1.6.4"; 11 + version = "1.6.6"; 12 12 13 - src = fetchsvn { 14 - url = "svn://svn.lighttpd.net/spawn-fcgi/tags/spawn-fcgi-${version}"; 15 - sha256 = "07r6nwbg4881mdgp0hqh80c4x9wb7jg6cgc84ghwhfbd2abc2iq5"; 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 16 }; 17 17 18 18 nativeBuildInputs = [ 19 - automake 20 - autoconf 19 + meson 20 + ninja 21 21 ]; 22 22 23 - preConfigure = '' 24 - ./autogen.sh 25 - ''; 23 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-implicit-function-declaration"; 26 24 27 25 meta = with lib; { 28 26 homepage = "https://redmine.lighttpd.net/projects/spawn-fcgi"; ··· 32 30 maintainers = [ ]; 33 31 platforms = with platforms; unix; 34 32 }; 35 - } 33 + })