lol
1{ stdenv, fetchurl, SDL2 }:
2
3stdenv.mkDerivation rec {
4 name = "SDL2_net-2.0.0";
5
6 src = fetchurl {
7 url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
8 sha256 = "d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab";
9 };
10
11 propagatedBuildInputs = [SDL2];
12
13 postInstall = "ln -s $out/include/SDL2/SDL_net.h $out/include/";
14
15 meta = with stdenv.lib; {
16 description = "SDL multiplatform networking library";
17 homepage = https://www.libsdl.org/projects/SDL_net;
18 license = licenses.zlib;
19 maintainers = [ maintainers.MP2E ];
20 platforms = platforms.all;
21 };
22}