2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, SDL }:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-06 21:17:42 +00:00
|
|
|
pname = "SDL_net";
|
2013-12-18 11:27:17 +00:00
|
|
|
version = "1.2.8";
|
2008-02-06 21:17:42 +00:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
|
2013-12-18 11:27:17 +00:00
|
|
|
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
|
2008-02-06 21:17:42 +00:00
|
|
|
};
|
|
|
|
|
2017-11-11 01:22:15 +00:00
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
|
|
|
|
|
2016-08-22 04:24:00 +01:00
|
|
|
propagatedBuildInputs = [ SDL ];
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2016-08-22 04:24:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "SDL networking library";
|
2016-08-22 04:24:00 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.zlib;
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://www.libsdl.org/projects/SDL_net/release-1.2.html;
|
2008-02-06 21:17:42 +00:00
|
|
|
};
|
2009-03-03 13:27:40 +00:00
|
|
|
}
|