lenmus: unbreak on aarch64-linux

+33 -10
+33 -10
pkgs/applications/misc/lenmus/default.nix
··· 1 - { lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch 2 - , cmake, boost 3 - , portmidi, sqlite 4 - , freetype, libpng, pngpp, zlib 5 - , wxGTK30, wxsqlite3 1 + { lib 2 + , stdenv 3 + , pkg-config 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , cmake 7 + , boost 8 + , portmidi 9 + , sqlite 10 + , freetype 11 + , libpng 12 + , pngpp 13 + , zlib 14 + , wxGTK30-gtk3 15 + , wxsqlite3 6 16 }: 7 17 8 18 stdenv.mkDerivation rec { ··· 25 35 url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch"; 26 36 sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn"; 27 37 }) 38 + (fetchpatch { 39 + url = "https://github.com/lenmus/lenmus/commit/37ee8ac9c8faff65a14e8f7ed2bc22e6dc48d91f.patch"; 40 + includes = [ "src/app/lenmus_midi_wizard.cpp" ]; 41 + sha256 = "sha256-nlT6ZbSCIXUk2Ufv/SDn2A0Rt+s/7m+7l9HOoQmaIhc="; 42 + }) 28 43 ]; 29 44 30 - nativeBuildInputs = [ cmake pkg-config ]; 45 + nativeBuildInputs = [ 46 + cmake 47 + pkg-config 48 + ]; 49 + 31 50 buildInputs = [ 32 51 boost 33 - portmidi sqlite 34 - freetype libpng pngpp zlib 35 - wxGTK30 wxsqlite3 52 + portmidi 53 + sqlite 54 + freetype 55 + libpng 56 + pngpp 57 + zlib 58 + wxGTK30-gtk3 59 + wxsqlite3 36 60 ]; 37 61 38 62 meta = with lib; { ··· 46 70 license = licenses.gpl3Plus; 47 71 maintainers = with maintainers; [ ramkromberg ]; 48 72 platforms = with platforms; linux; 49 - broken = stdenv.hostPlatform.isAarch64; 50 73 }; 51 74 }