1 { lib, stdenv, darwin, fetchurl, openal
5 stdenv.mkDerivation (finalAttrs: {
10 url = "http://www.openal.org/openal_webstf/downloads/freealut-${finalAttrs.version}.tar.gz";
11 sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
14 buildInputs = [ openal
15 ] ++ lib.optional stdenv.isDarwin
16 darwin.apple_sdk.frameworks.OpenAL
19 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
22 homepage = "http://openal.org/";
23 description = "Free implementation of OpenAL's ALUT standard";
24 license = lib.licenses.lgpl2;
25 pkgConfigModules = [ "freealut" ];
26 platforms = lib.platforms.unix;