diff --git a/pkgs/by-name/mo/monkeysAudio/package.nix b/pkgs/by-name/mo/monkeysAudio/package.nix index a46362b7f8e3..7d4cb724ea01 100644 --- a/pkgs/by-name/mo/monkeysAudio/package.nix +++ b/pkgs/by-name/mo/monkeysAudio/package.nix @@ -5,15 +5,21 @@ }: stdenv.mkDerivation (finalAttrs: { - version = "10.76"; + version = "10.81"; pname = "monkeys-audio"; src = fetchzip { url = "https://monkeysaudio.com/files/MAC_${ builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip"; - hash = "sha256-ropQZraOombq6zG5vXU/kBtQggy30ErbU79gbEtrIxs="; + hash = "sha256-sI2u+H/ewva9r+g5xSNqal0DMul+a9Y4FV6dEzulvSI="; stripRoot = false; }; + + env.NIX_CFLAGS_COMPILE = toString [ + # Otherwise, >> related build errors are encountered + "-std=c++11" + ]; + nativeBuildInputs = [ cmake ]; @@ -22,10 +28,7 @@ stdenv.mkDerivation (finalAttrs: { description = "APE codec and decompressor"; platforms = platforms.linux; mainProgram = "mac"; - # This is not considered a GPL license, but it seems rather free although - # it's not standard, see a quote of it: - # https://github.com/NixOS/nixpkgs/pull/171682#issuecomment-1120260551 - license = licenses.free; + license = licenses.bsd3; maintainers = with maintainers; [ doronbehar ]; }; })