about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-07-25 02:57:35 +0200
committerGitHub <noreply@github.com>2023-07-25 02:57:35 +0200
commitc86c68095a9aac662133a89d33688b89dc7c6b73 (patch)
tree6334e8c37ee680fea1370c12858a3bec1f748547 /pkgs/applications/audio
parente37356ab799ef0a62bf90e843c0d248162b4a9bc (diff)
parent0e5066d63ebfc38e281b98d88a2e71fd5a40facb (diff)
Merge pull request #242071 from emilytrau/soundsource
soundsource: init at 5.6.0
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/soundsource/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/audio/soundsource/default.nix b/pkgs/applications/audio/soundsource/default.nix
new file mode 100644
index 0000000000000..e211a5736689e
--- /dev/null
+++ b/pkgs/applications/audio/soundsource/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, stdenvNoCC
+, fetchurl
+, unzip
+}:
+stdenvNoCC.mkDerivation (finalAttrs: {
+  pname = "soundsource";
+  version = "5.6.0";
+
+  src = fetchurl {
+    url = "https://web.archive.org/web/20230707140658/https://rogueamoeba.com/soundsource/download/SoundSource.zip";
+    sha256 = "1avm1jr75mjbps0fad3glshrwl42vnhc0f9sak038ny85f3apyi0";
+  };
+  dontUnpack = true;
+
+  nativeBuildInputs = [ unzip ];
+
+  installPhase = ''
+    runHook preInstall
+
+    mkdir -p $out/Applications
+    unzip -d $out/Applications $src
+
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "Sound controller for macOS";
+    homepage = "https://rogueamoeba.com/soundsource";
+    license = licenses.unfree;
+    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
+    maintainers = with maintainers; [ emilytrau Enzime ];
+    platforms = platforms.darwin;
+  };
+})