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-10-15 13:48:14 +00:00
|
|
|
version = "10.76";
|
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-10-15 13:48:14 +00:00
|
|
|
hash = "sha256-ropQZraOombq6zG5vXU/kBtQggy30ErbU79gbEtrIxs=";
|
2023-03-02 08:58:24 +00:00
|
|
|
stripRoot = false;
|
2012-10-27 17:33:47 +00:00
|
|
|
};
|
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";
|
2022-05-07 18:31:35 +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-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
|
|
|
})
|