2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
, cmake
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "10.16";
|
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_${
|
|
|
|
builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-gRI2tzcybJx4ju2LCVc21Gb1ppd40qSA1J0TxNEk/Qs=";
|
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;
|
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
|
|
|
};
|
|
|
|
}
|