beret: Fix build on darwin (close #923)

This commit is contained in:
Jason \"Don\" O'Conal
2013-09-06 11:47:49 +10:00
committed by Vladimír Čunát
parent 38d54cfc21
commit 834cd6c886
6 changed files with 74 additions and 56 deletions

View File

@@ -23,10 +23,11 @@ let
'';
in
stdenv.mkDerivation rec {
name = "SDL-1.2.15";
version = "1.2.15";
name = "SDL-${version}";
src = fetchurl {
url = "http://www.libsdl.org/release/${name}.tar.gz";
url = "http://www.libsdl.org/release/${name}.tar.gz";
sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
};
@@ -49,8 +50,10 @@ stdenv.mkDerivation rec {
passthru = {inherit openglSupport;};
meta = {
meta = with stdenv.lib; {
description = "A cross-platform multimedia library";
homepage = http://www.libsdl.org/;
homepage = http://www.libsdl.org/;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}