2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
, cmake
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "10.40";
|
2023-03-08 16:32:21 +00:00
|
|
|
pname = "monkeys-audio";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://monkeysaudio.com/files/MAC_${
|
2023-10-09 19:29:22 +00:00
|
|
|
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-UHQSZM5AjODtgg0Pgi2N8tLKRI9Qg1CotPx2KoJk1wQ=";
|
2023-03-08 16:32:21 +00:00
|
|
|
stripRoot = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-03-08 16:32:21 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2023-03-08 16:32:21 +00:00
|
|
|
description = "APE codec and decompressor";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "mac";
|
2022-05-18 14:49:53 +00:00
|
|
|
# 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;
|
2023-03-08 16:32:21 +00:00
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|