2010-07-28 11:55:54 +00: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
|
|
|
};
|
|
|
|
|
2016-08-22 03:24:00 +00:00
|
|
|
propagatedBuildInputs = [ SDL ];
|
2008-02-06 21:17:42 +00:00
|
|
|
|
2016-08-22 03:24:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "SDL networking library";
|
2016-08-22 03:24:00 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.zlib;
|
|
|
|
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
|
|
|
}
|