nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 977 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchurl, 5 unzip, 6}: 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "soundsource"; 9 version = "5.8.3"; 10 11 src = fetchurl { 12 url = "https://web.archive.org/web/20250601123927/https://cdn.rogueamoeba.com/soundsource/download/SoundSource.zip"; 13 hash = "sha256-tomlsji65xVPTqX36UKf7S04M1iBxsXVJFEFqWPgBac="; 14 }; 15 16 dontUnpack = true; 17 18 nativeBuildInputs = [ unzip ]; 19 20 installPhase = '' 21 runHook preInstall 22 23 mkdir -p "$out/Applications" 24 unzip -d "$out/Applications" $src 25 26 runHook postInstall 27 ''; 28 29 meta = { 30 changelog = "https://rogueamoeba.com/support/releasenotes/?product=SoundSource"; 31 description = "Sound controller for macOS"; 32 homepage = "https://rogueamoeba.com/soundsource"; 33 license = lib.licenses.unfree; 34 maintainers = with lib.maintainers; [ 35 emilytrau 36 donteatoreo 37 ]; 38 platforms = lib.platforms.darwin; 39 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 40 }; 41})