Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
753 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchzip,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
version = "11.54";
pname = "monkeys-audio";
src = fetchzip {
url = "https://monkeysaudio.com/files/MAC_${builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
hash = "sha256-6QYy0AKzh1dA2Myy3i2/0Dw/v6qrZFLLGS2WAiCOgRo=";
stripRoot = false;
};
env.NIX_CFLAGS_COMPILE = toString [
# Otherwise, >> related build errors are encountered
"-std=c++11"
];
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "APE codec and decompressor";
platforms = platforms.linux;
mainProgram = "mac";
license = licenses.bsd3;
maintainers = with maintainers; [ doronbehar ];
};
})