ctucx.git: nixfiles

ctucx' nixfiles

commit 6f9a74ade653d49d4124a88ca68d009738a7e00f
parent a730b1e06d41ed80c5f95ac1dd06b7c6100078e0
Author: Katja (ctucx) <git@ctu.cx>
Date: Sun, 2 Mar 2025 00:41:29 +0100

pkgs/darwin: remove `macApps`
11 files changed, 0 insertions(+), 344 deletions(-)
D
pkgs/darwin/macApps/AlDente.nix
|
26
--------------------------
D
pkgs/darwin/macApps/Firefox.nix
|
53
-----------------------------------------------------
D
pkgs/darwin/macApps/HiddenBar.nix
|
26
--------------------------
D
pkgs/darwin/macApps/Hot.nix
|
26
--------------------------
D
pkgs/darwin/macApps/IINA.nix
|
26
--------------------------
D
pkgs/darwin/macApps/KeepingYouAwake.nix
|
26
--------------------------
D
pkgs/darwin/macApps/LibreOffice.nix
|
26
--------------------------
D
pkgs/darwin/macApps/MonitorControl.nix
|
26
--------------------------
D
pkgs/darwin/macApps/Rectangle.nix
|
26
--------------------------
D
pkgs/darwin/macApps/Thunderbird.nix
|
57
---------------------------------------------------------
D
pkgs/darwin/macApps/iTerm.nix
|
26
--------------------------
diff --git a/pkgs/darwin/macApps/AlDente.nix b/pkgs/darwin/macApps/AlDente.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "AlDente";
-  version = "1.15.2";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r AlDente.app "$out/Applications/AlDente.app"
-  '';
-
-  src = fetchurl {
-    name   = "AlDente-${version}.dmg";
-    url    = "https://github.com/davidwernhart/AlDente/releases/download/${version}/AlDente.dmg";
-    sha256 = "1bdfnh295dr1hrz12p2yjy86rr4lbghhs3f7wy7d73yzc2j5i7g2";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "macOS tool to limit maximum charging percentage";
-#    homepage    = "https://github.com/davidwernhart/AlDente";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/Firefox.nix b/pkgs/darwin/macApps/Firefox.nix
@@ -1,53 +0,0 @@
-{ stdenv, fetchurl, undmg, runCommand, ... }:
-
-let
-  codesign = runCommand "codesign-build-symlinks" {} ''
-    mkdir -p $out/bin
-    ln -s /usr/bin/codesign $out/bin
-  '';
-
-  FirefoxIcon = fetchurl {
-    name   = "Firefox.icns";
-    url    = "https://media.macosicons.com/parse/files/macOSicons/3e2e434eb31e1d096e4fe6d87857ad0b_Firefox.icns";
-    sha256 = "1gl3vvyzm6rdqi6rw2zkr87xh9yphixa9h1swmn81wi60n33qxfi";
-  };
-
-in stdenv.mkDerivation rec {
-  pname   = "Firefox";
-  version = "101.0";
-
-  buildInputs       = [ undmg ];
-  nativeBuildInputs = [ codesign ];
-
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "patchPhase" "installPhase" ];
-
-  patchPhase   = ''
-    substituteInPlace ./Firefox.app/Contents/Info.plist --replace "		<key>SYSTEM_VERSION_COMPAT</key>
-		<string>0</string>" "		<key>SYSTEM_VERSION_COMPAT</key>
-		<string>0</string>
-		<key>MOZ_LEGACY_PROFILES</key>
-		<string>1</string>"
-  '';
-
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r Firefox.app "$out/Applications/Firefox.app"
-    cp -r ${FirefoxIcon} "$out/Applications/Firefox.app/Contents/Resources/firefox.icns"
-
-
-    codesign --remove-signature "$out/Applications/Firefox.app"
-  '';
-
-  src = fetchurl {
-    name   = "Firefox-${version}.dmg";
-    url    = "https://download-installer.cdn.mozilla.net/pub/firefox/releases/${version}/mac/en-US/Firefox%20${version}.dmg";
-    sha256 = "1w35ph0kmv7mvm2cg693h56cfpc89gba226acjcblbr94ji7m03y";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "The Firefox web browser";
-#    homepage    = "https://www.mozilla.org/en-US/firefox";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/HiddenBar.nix b/pkgs/darwin/macApps/HiddenBar.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "HiddenBar";
-  version = "1.9";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r "Hidden Bar.app" "$out/Applications/Hidden Bar.app"
-  '';
-
-  src = fetchurl {
-    name   = "Hidden.Bar.${version}.dmg";
-    url    = "https://github.com/dwarvesf/hidden/releases/download/v${version}/Hidden.Bar.${version}.dmg";
-    sha256 = "00kdnb5639i2mqgmcwby2izb9282f4a91qzbib0hpi61yljb0m1z";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "An ultra-light MacOS utility that helps hide menu bar icons";
-#    homepage    = "https://github.com/dwarvesf/hidden";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/Hot.nix b/pkgs/darwin/macApps/Hot.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, unzip, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "Hot";
-  version = "1.6.1";
-
-  buildInputs  = [ unzip ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r Hot.app "$out/Applications/Hot.app"
-  '';
-
-  src = fetchurl {
-    name   = "Hot-${version}.zip";
-    url    = "https://github.com/macmade/Hot/releases/download/${version}/Hot.app.zip";
-    sha256 = "110qsfyszgnabpkfh4cspaigsmz577z1qvmhnm5jpqjzqmi0zbiy";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "Hot is macOS menu bar application that displays the CPU speed limit due to thermal issues.";
-#    homepage    = "https://github.com/macmade/Hot";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/IINA.nix b/pkgs/darwin/macApps/IINA.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "IINA";
-  version = "1.2.0";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r "IINA.app" "$out/Applications/IINA.app"
-  '';
-
-  src = fetchurl {
-    name   = "IINA.${version}.dmg";
-    url    = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg";
-    sha256 = "0di7qjzlhzrqwz5m4x86y8ak6c5mvrwikjd8nwf7l2az0n07xf4i";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "The modern video player for macOS.";
-#    homepage    = "https://github.com/iina/iina";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/KeepingYouAwake.nix b/pkgs/darwin/macApps/KeepingYouAwake.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, unzip, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "KeepingYouAwake";
-  version = "1.6.2";
-
-  buildInputs  = [ unzip ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r KeepingYouAwake.app "$out/Applications/KeepingYouAwake.app"
-  '';
-
-  src = fetchurl {
-    name   = "KeepingYouAwake-${version}.zip";
-    url    = "https://github.com/newmarcel/KeepingYouAwake/releases/download/${version}/KeepingYouAwake-${version}.zip";
-    sha256 = "08zk4v5905vmf583q4ab5wc5m2vwpxsjp740xk9083na2047ifc9";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "Prevents your Mac from going to sleep.";
-#    homepage    = "https://github.com/newmarcel/KeepingYouAwake";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/LibreOffice.nix b/pkgs/darwin/macApps/LibreOffice.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "LibreOffice";
-  version = "7.3.3";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r LibreOffice.app "$out/Applications/LibreOffice.app"
-  '';
-
-  src = fetchurl {
-    name   = "LibreOffice-${version}.dmg";
-    url    = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/aarch64/LibreOffice_${version}_MacOS_aarch64.dmg";
-    sha256 = "0qy85qzy90a3syvg2yfsd5n4h5fabf3bnzk8w8b7b64wipmkvvah";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "LibreOffice is a free and powerful office suite";
-#    homepage    = "https://libreoffice.org/";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/MonitorControl.nix b/pkgs/darwin/macApps/MonitorControl.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "MonitorControl";
-  version = "4.1.0";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r "MonitorControl.app" "$out/Applications/MonitorControl.app"
-  '';
-
-  src = fetchurl {
-    name   = "MonitorControl.${version}.dmg";
-    url    = "https://github.com/MonitorControl/MonitorControl/releases/download/v${version}/MonitorControl.${version}.dmg";
-    sha256 = "0fh1gmxyw4rzcsflvfmadrngkq1p6ip67hll3x2asjpw7vv4rb49";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "Control your display's brightness & volume on your Mac as if it was a native Apple Display";
-#    homepage    = "https://github.com/MonitorControl/MonitorControl";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/Rectangle.nix b/pkgs/darwin/macApps/Rectangle.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, undmg, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "Rectangle";
-  version = "0.53";
-
-  buildInputs  = [ undmg ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r "Rectangle.app" "$out/Applications/Rectangle.app"
-  '';
-
-  src = fetchurl {
-    name   = "Rectangle.${version}.dmg";
-    url    = "https://github.com/rxhanson/Rectangle/releases/download/v${version}/Rectangle${version}.dmg";
-    sha256 = "0ws2p8vwa825qwi5gv4ppn8l4j77vg8wpk0aw05dp336016637km";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "Move and resize windows on macOS with keyboard shortcuts and snap areas";
-#    homepage    = "https://github.com/rxhanson/Rectangle";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/Thunderbird.nix b/pkgs/darwin/macApps/Thunderbird.nix
@@ -1,57 +0,0 @@
-{ stdenv, fetchurl, undmg, runCommand, ... }:
-
-let
-  codesign = runCommand "codesign-build-symlinks" {} ''
-    mkdir -p $out/bin
-    ln -s /usr/bin/codesign $out/bin
-  '';
-
-  ThunderbirdIcon = fetchurl {
-    name   = "Thunderbird.icns";
-    url    = "https://media.macosicons.com/parse/files/macOSicons/d05f6c9df12594a119f87ba6b30d663f_Thunderbird.icns";
-    sha256 = "10hy7ni44azyc2glgw5dc1mxyvclxw4jxfa86b0flhyhnzcbcrfy";
-  };
-
-in stdenv.mkDerivation rec {
-  pname   = "Thunderbird";
-  version = "91.10.0";
-
-  buildInputs       = [ undmg ];
-  nativeBuildInputs = [ codesign ];
-
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "patchPhase" "installPhase" ];
-
-
-  patchPhase   = ''
-    substituteInPlace ./Thunderbird.app/Contents/Info.plist --replace "</dict>
-</plist>" "	<key>LSEnvironment</key>
-	<dict>
-		<key>MOZ_LEGACY_PROFILES</key>
-		<string>1</string>
-	</dict>
-</dict>
-</plist>
-"
-  '';
-
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r Thunderbird.app "$out/Applications/Thunderbird.app"
-    cp -r ${ThunderbirdIcon} "$out/Applications/Thunderbird.app/Contents/Resources/thunderbird.icns"
-
-    codesign --remove-signature "$out/Applications/Thunderbird.app"
-  '';
-
-  src = fetchurl {
-    name   = "Thunderbird-${version}.dmg";
-    url    = "https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/${version}/mac/en-US/Thunderbird%20${version}.dmg";
-    sha256 = "0pl46fl7c4807xb6b0ywbk03hdg1prllcd28csgrh8c2kf390cj0";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "Thunderbird is a free email application that’s easy to set up and customize - and it’s loaded with great features!";
-#    homepage    = "https://www.thunderbird.net/en-US";
-#    platforms   = platforms.darwin;
-#  };
-}
diff --git a/pkgs/darwin/macApps/iTerm.nix b/pkgs/darwin/macApps/iTerm.nix
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, unzip, ... }:
-
-stdenv.mkDerivation rec {
-  pname   = "iTerm";
-  version = "3_4_15";
-
-  buildInputs  = [ unzip ];
-  sourceRoot   = ".";
-  phases       = [ "unpackPhase" "installPhase" ];
-  installPhase = ''
-    mkdir -p "$out/Applications"
-    cp -r iTerm.app "$out/Applications/iTerm.app"
-  '';
-
-  src = fetchurl {
-    name   = "iTerm-${version}.zip";
-    url    = "https://iterm2.com/downloads/stable/iTerm2-${version}.zip";
-    sha256 = "0y0vhxwn1cl0y1gjm5fad5zndb4v448mqcksbmmskpgg73h4wn9j";
-  };
-
-#  meta = with stdenv.lib; {
-#    description = "iTerm2 is a terminal emulator for Mac OS X that does amazing things.";
-#    homepage    = "https://iterm2.com/";
-#    platforms   = platforms.darwin;
-#  };
-}