blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / mo / monkeysAudio / package.nix
blobc89ed2d7826554509263aaf7d6b4859eb443770c
2   lib,
3   stdenv,
4   fetchzip,
5   cmake,
6 }:
8 stdenv.mkDerivation (finalAttrs: {
9   version = "10.92";
10   pname = "monkeys-audio";
12   src = fetchzip {
13     url = "https://monkeysaudio.com/files/MAC_${builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
14     hash = "sha256-xb+L+X1N6/t7ohodFefIT5zvc/GMjMnkqCNMJukEIFg=";
15     stripRoot = false;
16   };
18   env.NIX_CFLAGS_COMPILE = toString [
19     # Otherwise, >> related build errors are encountered
20     "-std=c++11"
21   ];
23   nativeBuildInputs = [
24     cmake
25   ];
27   meta = with lib; {
28     description = "APE codec and decompressor";
29     platforms = platforms.linux;
30     mainProgram = "mac";
31     license = licenses.bsd3;
32     maintainers = with maintainers; [ doronbehar ];
33   };