SDL2-net: 2.0.1 -> 2.2.0

This commit is contained in:
jo! 2022-12-24 13:50:43 +00:00
parent 250a51232c
commit f6b4a177c8

View File

@ -2,18 +2,19 @@
stdenv.mkDerivation rec {
pname = "SDL2_net";
version = "2.0.1";
version = "2.2.0";
src = fetchurl {
url = "https://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
sha256 = "sha256-TkqJGYgxYnGXT/TpWF7R73KaEj0iwIvUcxKRedyFf+s=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
configureFlags = [ "--disable-examples" ]
++ lib.optional stdenv.isDarwin "--disable-sdltest";
propagatedBuildInputs = [ SDL2 ];