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