1 { lib, stdenv, fetchurl, fetchpatch, yasm }:
3 stdenv.mkDerivation rec {
5 version = "4.11-u4-b5-s7";
8 url = "https://www.deb-multimedia.org/pool/main/m/monkeys-audio/monkeys-audio_${version}.orig.tar.gz";
9 sha256 = "16i96cw5r3xbsivjigqp15vv32wa38k86mxq11qx1pzmpryqpqkk";
14 name = "mac-4.11.4.5.7-gcc6.patch";
15 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch?id=1bd4e0e30e4d8a8862217d7067323851b34c7fe4";
16 sha256 = "093b8m8p8s6dmc62fc8vb4hlmjc2ncb4rdgc82g0a8gg6w5kcj8x";
19 name = "mac-4.11.4.5.7-output.patch";
20 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/mac/files/mac-4.11.4.5.7-output.patch?id=1bd4e0e30e4d8a8862217d7067323851b34c7fe4";
21 sha256 = "0njmwj6d9jqi4pz4fax02w37gk22vda0grszrs2nn97zzmjl36zk";
25 CXXFLAGS = "-DSHNTOOL";
27 nativeBuildInputs = [ yasm ];
30 description = "APE codec and decompressor";
31 homepage = "https://www.deb-multimedia.org/dists/testing/main/binary-amd64/package/monkeys-audio.php";
32 license = licenses.unfreeRedistributable;
33 platforms = [ "x86_64-linux" ];