diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-01-31 22:34:45 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-01-31 22:40:30 -0300 |
commit | b0c97c01211f63dd632ccae87ac0171b7e7d9cd4 (patch) | |
tree | 3cef79cc048db75102fcd772d64e02f9e0708ebb /pkgs/applications/audio/munt | |
parent | 7264a780f07b951b3e048905f21dc58eaea7f3d8 (diff) | |
download | nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar.gz nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar.bz2 nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar.lz nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar.xz nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.tar.zst nixpkgs-b0c97c01211f63dd632ccae87ac0171b7e7d9cd4.zip |
munt: 2.5.0 -> 2.5.3
Diffstat (limited to 'pkgs/applications/audio/munt')
-rw-r--r-- | pkgs/applications/audio/munt/default.nix | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/pkgs/applications/audio/munt/default.nix b/pkgs/applications/audio/munt/default.nix index 93a9ce25854..6a308ba74c4 100644 --- a/pkgs/applications/audio/munt/default.nix +++ b/pkgs/applications/audio/munt/default.nix @@ -1,50 +1,52 @@ { lib -, mkDerivation , stdenv +, mkDerivation , fetchFromGitHub -, makeDesktopItem +, alsa-lib , cmake +, glib , pkg-config , qtbase -, glib -, alsa-lib , withJack ? stdenv.hostPlatform.isUnix, jack }: -let - mainProgram = "mt32emu-qt"; -in mkDerivation rec { pname = "munt"; - version = "2.5.0"; + version = "2.5.3"; src = fetchFromGitHub { owner = pname; repo = pname; - rev = "munt_${lib.replaceChars [ "." ] [ "_" ] version}"; - sha256 = "1lknq2a72gv1ddhzr7f967wpa12lh805jj4gjacdnamgrc1h22yn"; + rev = "libmt32emu_${lib.replaceChars [ "." ] [ "_" ] version}"; + hash = "sha256-n5VV5Swh1tOVQGT3urEKl64A/w7cY95/0y5wC5ZuLm4="; }; dontFixCmake = true; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ + cmake + pkg-config + ]; - buildInputs = [ qtbase glib ] - ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib - ++ lib.optional withJack jack; + buildInputs = [ + glib + qtbase + ] + ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib + ++ lib.optional withJack jack; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' mkdir $out/Applications - mv $out/bin/${mainProgram}.app $out/Applications/ - ln -s $out/{Applications/${mainProgram}.app/Contents/MacOS,bin}/${mainProgram} + mv $out/bin/${meta.mainProgram}.app $out/Applications/ + ln -s $out/{Applications/${meta.mainProgram}.app/Contents/MacOS,bin}/${meta.mainProgram} ''; meta = with lib; { - inherit mainProgram; - description = "Multi-platform software synthesiser emulating Roland MT-32, CM-32L, CM-64 and LAPC-I devices"; homepage = "http://munt.sourceforge.net/"; + description = "An emulator of Roland MT-32, CM-32L, CM-64 and LAPC-I devices"; license = with licenses; [ lgpl21 gpl3 ]; - platforms = platforms.all; maintainers = with maintainers; [ OPNA2608 ]; + platforms = platforms.all; + mainProgram = "mt32emu-qt"; }; } |