lol

Merge pull request #252830 from K900/sdl-2.28.3

SDL2: 2.28.2 -> 2.28.3

authored by

K900 and committed by
GitHub
70b66cdf ff71e259

+12 -6
+12 -6
pkgs/development/libraries/SDL2/default.nix
··· 1 { lib 2 , stdenv 3 , config 4 - , fetchurl 5 , pkg-config 6 , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 7 , openglSupport ? libGLSupported ··· 55 56 stdenv.mkDerivation rec { 57 pname = "SDL2"; 58 - version = "2.28.2"; 59 60 - src = fetchurl { 61 - url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz"; 62 - hash = "sha256-ZLEQL6Igk1FbAu8z3Yc53uG6V+nbumoJKUK4u+0aHF4="; 63 }; 64 dontDisableStatic = if withStatic then 1 else 0; 65 outputs = [ "out" "dev" ]; ··· 165 166 setupHook = ./setup-hook.sh; 167 168 - passthru = { inherit openglSupport; }; 169 170 meta = with lib; { 171 description = "A cross-platform multimedia library";
··· 1 { lib 2 , stdenv 3 , config 4 + , fetchFromGitHub 5 + , nix-update-script 6 , pkg-config 7 , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 8 , openglSupport ? libGLSupported ··· 56 57 stdenv.mkDerivation rec { 58 pname = "SDL2"; 59 + version = "2.28.3"; 60 61 + src = fetchFromGitHub { 62 + owner = "libsdl-org"; 63 + repo = "SDL"; 64 + rev = "release-${version}"; 65 + hash = "sha256-/kQ2IyvAfmZ+zIUt1WuEIeX0nYPGXDlAQk2qDsQnFFs="; 66 }; 67 dontDisableStatic = if withStatic then 1 else 0; 68 outputs = [ "out" "dev" ]; ··· 168 169 setupHook = ./setup-hook.sh; 170 171 + passthru = { 172 + inherit openglSupport; 173 + updateScript = nix-update-script { extraArgs = ["--version-regex" "release-(.*)"]; }; 174 + }; 175 176 meta = with lib; { 177 description = "A cross-platform multimedia library";