mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
ddeb99747d
License was simply updated in the website, with no release notes or a Git commit available unfortunately.
35 lines
754 B
Nix
35 lines
754 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "10.81";
|
|
pname = "monkeys-audio";
|
|
|
|
src = fetchzip {
|
|
url = "https://monkeysaudio.com/files/MAC_${
|
|
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
|
|
hash = "sha256-sI2u+H/ewva9r+g5xSNqal0DMul+a9Y4FV6dEzulvSI=";
|
|
stripRoot = false;
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
# Otherwise, >> related build errors are encountered
|
|
"-std=c++11"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "APE codec and decompressor";
|
|
platforms = platforms.linux;
|
|
mainProgram = "mac";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
};
|
|
})
|