From e9b0336efecba6626e6ffc4f5bcb2394f53a8457 Mon Sep 17 00:00:00 2001 From: 7karni <7karni@proton.me> Date: Tue, 9 Dec 2025 00:33:32 +0530 Subject: [PATCH 1/2] sunvox: 2.1.3 -> 2.1.4 --- pkgs/by-name/su/sunvox/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/su/sunvox/package.nix b/pkgs/by-name/su/sunvox/package.nix index 633aeeba301c..a99d4c8dd111 100644 --- a/pkgs/by-name/su/sunvox/package.nix +++ b/pkgs/by-name/su/sunvox/package.nix @@ -35,15 +35,15 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "sunvox"; - version = "2.1.3"; + version = "2.1.4"; src = fetchzip { urls = [ "https://www.warmplace.ru/soft/sunvox/sunvox-${finalAttrs.version}.zip" # Upstream removes downloads of older versions, please save bumped versions to archive.org - "https://web.archive.org/web/20251019141206/https://www.warmplace.ru/soft/sunvox/sunvox-${finalAttrs.version}.zip" + "https://web.archive.org/web/20251208174416/https://www.warmplace.ru/soft/sunvox/sunvox-${finalAttrs.version}.zip" ]; - hash = "sha256-egOaIZEyI5x2VV660qbO+pan22BFRaa4d+8sOpJhpBM="; + hash = "sha256-FY5DxdQN1ClFp/dS5fXgFhoU7uk/gUoPrYtsZK5q9O4="; }; nativeBuildInputs = From 2cf19918ced06b226e9e76727daf6b81a6a386b8 Mon Sep 17 00:00:00 2001 From: 7karni <7karni@proton.me> Date: Tue, 9 Dec 2025 00:46:05 +0530 Subject: [PATCH 2/2] sunvox: additional desktop entries --- pkgs/by-name/su/sunvox/package.nix | 44 ++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/su/sunvox/package.nix b/pkgs/by-name/su/sunvox/package.nix index a99d4c8dd111..e9038772f230 100644 --- a/pkgs/by-name/su/sunvox/package.nix +++ b/pkgs/by-name/su/sunvox/package.nix @@ -68,21 +68,35 @@ stdenv.mkDerivation (finalAttrs: { libjack2 ]; - desktopItems = lib.optionals stdenv.hostPlatform.isLinux [ - (makeDesktopItem { - name = "sunvox"; - exec = "sunvox"; - desktopName = "SunVox"; - genericName = "Modular Synthesizer"; - comment = "Modular synthesizer with pattern-based sequencer"; - icon = "sunvox"; - categories = [ - "AudioVideo" - "Audio" - "Midi" - ]; - }) - ]; + desktopItems = + let + sunvoxDesktop = + variant: + makeDesktopItem { + name = "sunvox" + lib.optionalString (variant != null) "-${lib.strings.toLower variant}"; + exec = "sunvox" + lib.optionalString (variant != null) "_${lib.strings.toLower variant}"; + desktopName = "SunVox" + lib.optionalString (variant != null) " (${variant})"; + genericName = "Modular Synthesizer"; + comment = "Modular synthesizer with pattern-based sequencer"; + icon = "sunvox"; + categories = [ + "AudioVideo" + "Audio" + "Midi" + ]; + }; + in + lib.optionals stdenv.hostPlatform.isLinux ( + [ + (sunvoxDesktop null) + ] + ++ lib.optionals (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64) [ + (sunvoxDesktop "OpenGL") + ] + ++ lib.optionals (stdenv.hostPlatform.isi686) [ + (sunvoxDesktop "LoFi") + ] + ); dontConfigure = true; dontBuild = true;