{lib, gcc10Stdenv, fetchurl}: gcc10Stdenv.mkDerivation rec { version = "3.99-u4-b5"; pname = "monkeys-audio"; patches = [ ./buildfix.diff ]; src = fetchurl { url = "https://deb-multimedia.org/pool/main/m/${pname}/${pname}_${version}.orig.tar.gz"; sha256 = "0kjfwzfxfx7f958b2b1kf8yj655lp0ppmn0sh57gbkjvj8lml7nz"; }; meta = with lib; { description = "Lossless audio codec"; platforms = platforms.linux; license = licenses.lgpl2; maintainers = [ ]; }; }