1 { lib, stdenv, darwin, fetchurl, openal }:
3 stdenv.mkDerivation rec {
4 name = "freealut-1.1.0";
7 url = "http://www.openal.org/openal_webstf/downloads/${name}.tar.gz";
8 sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
11 buildInputs = [ openal
12 ] ++ lib.optional stdenv.isDarwin
13 darwin.apple_sdk.frameworks.OpenAL
17 homepage = "http://openal.org/";
18 description = "Free implementation of OpenAL's ALUT standard";
19 license = lib.licenses.lgpl2;
20 platforms = lib.platforms.unix;