File tree Expand file tree Collapse file tree 3 files changed +45
-3
lines changed
Expand file tree Collapse file tree 3 files changed +45
-3
lines changed Original file line number Diff line number Diff line change 2323 menubar-dock-bin # macOS dock in menubar
2424 MultiSoundChanger-bin # aggregate-output volume control in menubar
2525 LibreScore-bin # Music notation ripper
26+ iris # Webcam mirror
27+ #LosslessSwitcher-bin # Lossless audio toggle in menubar
2628 ;
2729
2830 # claude-desktop = pkgs.brewCasks.claude.overrideAttrs (oldAttrs: {
Original file line number Diff line number Diff line change 1+ {
2+ stdenvNoCC ,
3+ fetchzip ,
4+ lib ,
5+ makeWrapper ,
6+ ...
7+ } :
8+ stdenvNoCC . mkDerivation ( finalAttrs : {
9+ pname = "iris" ;
10+ version = "0.2.0-hotkey" ;
11+
12+ src = fetchzip {
13+ extension = "zip" ;
14+ url = "https://github.com/DivitMittal/Iris/releases/download/v${ finalAttrs . version } /Iris-v${ finalAttrs . version } .zip" ;
15+ hash = "sha256-ZHXw2+Fpm6+cXo01oNrXa7iQW4HMmic3KkVrD50a1hA=" ;
16+ } ;
17+
18+ nativeBuildInputs = [ makeWrapper ] ;
19+
20+ installPhase = ''
21+ runHook preInstall
22+
23+ mkdir -p "$out/Applications/Iris.app"
24+ cp -R ./* "$out/Applications/Iris.app"
25+
26+ mkdir -p "$out/bin"
27+ makeWrapper "$out/Applications/Iris.app/Contents/MacOS/Iris" "$out/bin/iris"
28+
29+ runHook postInstall
30+ '' ;
31+
32+ meta = {
33+ description = "Webcam mirror window for macOS with hotkey toggle" ;
34+ homepage = "https://github.com/DivitMittal/Iris" ;
35+ license = lib . licenses . mit ;
36+ platforms = lib . platforms . darwin ;
37+ maintainers = with lib . maintainers ; [ DivitMittal ] ;
38+ sourceProvenance = with lib . sourceTypes ; [ binaryNativeCode ] ;
39+ } ;
40+ } )
You can’t perform that action at this time.
0 commit comments