2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, darwin, fetchurl, openal }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-26 17:43:05 +00:00
|
|
|
pname = "freealut";
|
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-26 17:43:05 +00:00
|
|
|
url = "http://www.openal.org/openal_webstf/downloads/freealut-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openal
|
2021-02-05 17:12:51 +00:00
|
|
|
] ++ lib.optional stdenv.isDarwin
|
2020-04-24 23:36:52 +00:00
|
|
|
darwin.apple_sdk.frameworks.OpenAL
|
|
|
|
;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://openal.org/";
|
|
|
|
description = "Free implementation of OpenAL's ALUT standard";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|