summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2_net
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-22 06:24:32 +0300
committerNikolay Amiantov <ab@fmap.me>2016-08-22 06:30:01 +0300
commit7bf7f1976545666ba958034f7e61062595338f84 (patch)
treeb25fa97cc48ae3d7d629ff1848584b48eb1b098e /pkgs/development/libraries/SDL2_net
parentb47327ebd535468f71bbf6a46366e0bd9357b599 (diff)
downloadnixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar.gz
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar.bz2
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar.lz
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar.xz
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.tar.zst
nixpkgs-7bf7f1976545666ba958034f7e61062595338f84.zip
SDL2: cleanup and add patch to discover extensions
Diffstat (limited to 'pkgs/development/libraries/SDL2_net')
-rw-r--r--pkgs/development/libraries/SDL2_net/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/libraries/SDL2_net/default.nix b/pkgs/development/libraries/SDL2_net/default.nix
index 6f096577819..15a3305c7f4 100644
--- a/pkgs/development/libraries/SDL2_net/default.nix
+++ b/pkgs/development/libraries/SDL2_net/default.nix
@@ -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;
   };
 }