Add SDL2_net v2.0.0

This commit is contained in:
Cray Elliott 2014-08-03 10:49:32 -07:00 committed by Bjørn Forsman
parent 549fae8676
commit 85cdd7ce33
3 changed files with 25 additions and 0 deletions

View File

@ -72,6 +72,7 @@
mornfall = "Petr Ročkai <me@mornfall.net>";
msackman = "Matthew Sackman <matthew@wellquite.org>";
nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
MP2E = "Cray Elliott <MP2E@archlinux.us>";
notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
name = "SDL2_net-2.0.0";
src = fetchurl {
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
sha256 = "d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab";
};
propagatedBuildInputs = [SDL2];
postInstall = "ln -s $out/include/SDL2/SDL_net.h $out/include/";
meta = with stdenv.lib; {
description = "SDL multiplatform networking library";
homepage = https://www.libsdl.org/projects/SDL_net;
license = licenses.zlib;
maintainers = [ maintainers.MP2E ];
platforms = platforms.all;
};
}

View File

@ -6179,6 +6179,8 @@ let
SDL2_mixer = callPackage ../development/libraries/SDL2_mixer { };
SDL2_net = callPackage ../development/libraries/SDL2_net { };
SDL2_gfx = callPackage ../development/libraries/SDL2_gfx { };
serd = callPackage ../development/libraries/serd {};