[Backport release-24.05] soundsource: 5.7.3 -> 5.7.4, quote paths, refactor meta (#362096)

This commit is contained in:
Wolfgang Walther
2024-12-05 21:19:44 +01:00
committed by GitHub

View File

@@ -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 ];
@@ -19,21 +20,22 @@ 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
'';
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 ];
};
})