From e1fd97e60111c34c56ab638f52389ff257235ad3 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:55:33 +0200 Subject: [PATCH 1/3] soundsource: refactor meta (cherry picked from commit 4657c1608956fc5465d88c0d424708cd2a72ee07) --- pkgs/applications/audio/soundsource/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/soundsource/default.nix b/pkgs/applications/audio/soundsource/default.nix index 567ca85864e8..9fffbf0b80e8 100644 --- a/pkgs/applications/audio/soundsource/default.nix +++ b/pkgs/applications/audio/soundsource/default.nix @@ -25,15 +25,16 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - meta = with lib; { + meta = { + changelog = "https://rogueamoeba.com/support/releasenotes/?product=SoundSource"; description = "Sound controller for macOS"; homepage = "https://rogueamoeba.com/soundsource"; - license = licenses.unfree; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - maintainers = with maintainers; [ + license = lib.licenses.unfree; + maintainers = with lib.maintainers; [ emilytrau donteatoreo ]; - platforms = platforms.darwin; + platforms = lib.platforms.darwin; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) From 6ead7f1217aa0bbb7e3a177549a57a59ddaedfec Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:55:58 +0200 Subject: [PATCH 2/3] soundsource: quote paths (cherry picked from commit 4c0350d9d096a470eaa33a5022df0db6c5a388a1) --- pkgs/applications/audio/soundsource/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/soundsource/default.nix b/pkgs/applications/audio/soundsource/default.nix index 9fffbf0b80e8..4fd0a8014e07 100644 --- a/pkgs/applications/audio/soundsource/default.nix +++ b/pkgs/applications/audio/soundsource/default.nix @@ -19,8 +19,8 @@ stdenvNoCC.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall - mkdir -p $out/Applications - unzip -d $out/Applications $src + mkdir -p "$out/Applications" + unzip -d "$out/Applications" $src runHook postInstall ''; From 78650f5cccc359014885988c038ab1cffe1696fe Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:58:31 +0200 Subject: [PATCH 3/3] soundsource: 5.7.3 -> 5.7.4 (cherry picked from commit 0d336e398fb360f13aab0d9c9d256a5c5116f730) --- pkgs/applications/audio/soundsource/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/soundsource/default.nix b/pkgs/applications/audio/soundsource/default.nix index 4fd0a8014e07..a3c3ee528546 100644 --- a/pkgs/applications/audio/soundsource/default.nix +++ b/pkgs/applications/audio/soundsource/default.nix @@ -6,12 +6,13 @@ }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "soundsource"; - version = "5.7.3"; + version = "5.7.4"; src = fetchurl { - url = "https://web.archive.org/web/20241112212337/https://cdn.rogueamoeba.com/soundsource/download/SoundSource.zip"; - sha256 = "sha256-Eup7oiq8vVn2MqxJxE/Z2LtDMdluczHusRJ9uoW3X84="; + url = "https://web.archive.org/web/20241204215222/https://cdn.rogueamoeba.com/soundsource/download/SoundSource.zip"; + hash = "sha256-zDIlhwczwXVPOV90EKF9pjO2CKlOEeFsqx17nIXaElw="; }; + dontUnpack = true; nativeBuildInputs = [ unzip ];