diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-03-02 10:58:24 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-03-02 10:59:58 +0200 |
commit | e5eaf4918dd3c99fa902b18f74430dfcb2c0a7bd (patch) | |
tree | 53cd41281e8922933e419bbb0a43f26544642c17 /pkgs/applications/audio/monkeys-audio | |
parent | 2e8194d47b7970f017f3d4e8896a605f62c69c95 (diff) |
monkeysAudio: 3.99 -> 9.20
Diffstat (limited to 'pkgs/applications/audio/monkeys-audio')
-rw-r--r-- | pkgs/applications/audio/monkeys-audio/default.nix | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/pkgs/applications/audio/monkeys-audio/default.nix b/pkgs/applications/audio/monkeys-audio/default.nix index 05647af2201aa..12ab5e8a14258 100644 --- a/pkgs/applications/audio/monkeys-audio/default.nix +++ b/pkgs/applications/audio/monkeys-audio/default.nix @@ -1,28 +1,25 @@ -{lib, gcc10Stdenv, fetchurl}: +{ lib +, stdenv +, fetchzip +, cmake +}: -gcc10Stdenv.mkDerivation rec { - version = "3.99-u4-b5"; - pname = "monkeys-audio-old"; +stdenv.mkDerivation rec { + version = "9.20"; + pname = "monkeys-audio"; - patches = [ ./buildfix.diff ]; - - src = fetchurl { - /* - The real homepage is <https://monkeysaudio.com/>, but in fact we are - getting an old, ported to Linux version of the sources, made by (quoting - from the AUTHORS file found in the source): - - Frank Klemm : First port to linux (with makefile) - - SuperMMX <SuperMMX AT GMail DOT com> : Package the source, include the frontend and shared lib, - porting to Big Endian platform and adding other non-win32 enhancement. - */ - url = "https://deb-multimedia.org/pool/main/m/${pname}/${pname}_${version}.orig.tar.gz"; - sha256 = "0kjfwzfxfx7f958b2b1kf8yj655lp0ppmn0sh57gbkjvj8lml7nz"; + src = fetchzip { + url = "https://monkeysaudio.com/files/MAC_${ + builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip"; + sha256 = "sha256-8cJ88plR9jrrLdzRHzRotGBrn6qIqOWvl+oOTXxY/TE="; + stripRoot = false; }; + nativeBuildInputs = [ + cmake + ]; meta = with lib; { - description = "Lossless audio codec"; + description = "APE codec and decompressor"; platforms = platforms.linux; # This is not considered a GPL license, but it seems rather free although # it's not standard, see a quote of it: |