diff --git a/pkgs/applications/audio/monkeys-audio/default.nix b/pkgs/applications/audio/monkeys-audio/default.nix index b5553e0a6005..bb11921823ca 100644 --- a/pkgs/applications/audio/monkeys-audio/default.nix +++ b/pkgs/applications/audio/monkeys-audio/default.nix @@ -4,13 +4,13 @@ , cmake }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { version = "10.22"; pname = "monkeys-audio"; src = fetchzip { url = "https://monkeysaudio.com/files/MAC_${ - builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip"; + builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip"; sha256 = "sha256-JmDH9IudtuJdu1kSDI1RNaYiIgmPgH4RT2Myz9ihQH4="; stripRoot = false; }; @@ -21,10 +21,11 @@ stdenv.mkDerivation rec { meta = with lib; { description = "APE codec and decompressor"; platforms = platforms.linux; + mainProgram = "mac"; # 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; maintainers = with maintainers; [ doronbehar ]; }; -} +})