2017-01-22 07:28:12 +01:00
|
|
|
{ stdenv, darwin, fetchurl, openal }:
|
2007-05-14 23:47:11 +02:00
|
|
|
|
2014-07-28 21:19:08 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2007-05-14 23:47:11 +02:00
|
|
|
name = "freealut-1.1.0";
|
2014-07-28 21:19:08 +02:00
|
|
|
|
2007-05-14 23:47:11 +02:00
|
|
|
src = fetchurl {
|
2014-07-28 21:19:08 +02:00
|
|
|
url = "http://www.openal.org/openal_webstf/downloads/${name}.tar.gz";
|
2007-05-14 23:47:11 +02:00
|
|
|
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
|
|
|
|
};
|
2014-07-28 21:19:08 +02:00
|
|
|
|
2017-01-22 07:28:12 +01:00
|
|
|
buildInputs = [ openal
|
|
|
|
] ++ stdenv.lib.optional stdenv.isDarwin
|
|
|
|
darwin.apple_sdk.frameworks.OpenAL
|
|
|
|
;
|
2014-07-28 21:19:08 +02:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://openal.org/;
|
2014-07-28 21:19:08 +02:00
|
|
|
description = "Free implementation of OpenAL's ALUT standard";
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
2017-01-22 07:28:12 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-07-28 21:19:08 +02:00
|
|
|
};
|
2007-05-14 23:47:11 +02:00
|
|
|
}
|