Merge pull request #207572 from j0lol/sdl2_net
SDL2_net: 2.0.1 -> 2.2.0
This commit is contained in:
commit
e513872900
1 changed files with 4 additions and 3 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue