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