2023-03-02 08:58:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
, cmake
|
|
|
|
}:
|
2012-10-27 17:33:47 +00:00
|
|
|
|
2023-09-18 13:41:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-11-30 00:04:16 +00:00
|
|
|
version = "10.81";
|
2023-03-02 08:58:24 +00:00
|
|
|
pname = "monkeys-audio";
|
2012-10-27 17:33:47 +00:00
|
|
|
|
2023-03-02 08:58:24 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://monkeysaudio.com/files/MAC_${
|
2023-09-18 13:41:59 +00:00
|
|
|
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
|
2024-11-30 00:04:16 +00:00
|
|
|
hash = "sha256-sI2u+H/ewva9r+g5xSNqal0DMul+a9Y4FV6dEzulvSI=";
|
2023-03-02 08:58:24 +00:00
|
|
|
stripRoot = false;
|
2012-10-27 17:33:47 +00:00
|
|
|
};
|
2024-11-30 00:04:16 +00:00
|
|
|
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
|
|
# Otherwise, >> related build errors are encountered
|
|
|
|
"-std=c++11"
|
|
|
|
];
|
|
|
|
|
2023-03-02 08:58:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2014-01-28 17:11:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-03-02 08:58:24 +00:00
|
|
|
description = "APE codec and decompressor";
|
2014-01-28 17:11:00 +00:00
|
|
|
platforms = platforms.linux;
|
2023-09-18 10:49:57 +00:00
|
|
|
mainProgram = "mac";
|
2024-11-30 00:04:16 +00:00
|
|
|
license = licenses.bsd3;
|
2023-03-05 06:00:01 +00:00
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
2014-01-28 17:11:00 +00:00
|
|
|
};
|
2023-09-18 13:41:59 +00:00
|
|
|
})
|