nixpkgs/pkgs/by-name/mo/monkeysAudio/package.nix

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

35 lines
754 B
Nix
Raw Normal View History

2023-03-02 08:58:24 +00:00
{ lib
, stdenv
, fetchzip
, cmake
}:
stdenv.mkDerivation (finalAttrs: {
version = "10.81";
2023-03-02 08:58:24 +00:00
pname = "monkeys-audio";
2023-03-02 08:58:24 +00:00
src = fetchzip {
url = "https://monkeysaudio.com/files/MAC_${
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
hash = "sha256-sI2u+H/ewva9r+g5xSNqal0DMul+a9Y4FV6dEzulvSI=";
2023-03-02 08:58:24 +00:00
stripRoot = false;
};
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
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";
license = licenses.bsd3;
maintainers = with maintainers; [ doronbehar ];
2014-01-28 17:11:00 +00:00
};
})