SDL2: cleanup and add patch to discover extensions
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
{ stdenv, fetchurl, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_net-2.0.0";
|
||||
name = "SDL2_net-${version}";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
|
||||
sha256 = "d715be30783cc99e541626da52079e308060b21d4f7b95f0224b1d06c1faacab";
|
||||
sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [SDL2];
|
||||
|
||||
postInstall = "ln -s $out/include/SDL2/SDL_net.h $out/include/";
|
||||
propagatedBuildInputs = [ SDL2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SDL multiplatform networking library";
|
||||
homepage = https://www.libsdl.org/projects/SDL_net;
|
||||
homepage = "https://www.libsdl.org/projects/SDL_net";
|
||||
license = licenses.zlib;
|
||||
maintainers = [ maintainers.MP2E ];
|
||||
maintainers = with maintainers; [ MP2E ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user