File tree Expand file tree Collapse file tree
packages/ungoogled-chromium Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 slack
7373 soundsource
7474 the-unarchiver
75+ ungoogled-chromium
7576 whatsapp-for-mac
7677 zoom-us
7778 ] ;
Original file line number Diff line number Diff line change 102102 {
103103 nixpkgs . overlays = [
104104 ( import ./../overlays/github-desktop.nix )
105+ ( import ./../overlays/ungoogled-chromium.nix )
105106 ( import ./../overlays/whatsapp-for-mac.nix )
106107 ] ;
107108 }
Original file line number Diff line number Diff line change 3636 # TODO: casks marked as auto_updates should be set as greedy with auto update setting disabled
3737 otherApps = [
3838 "craft" # auto_updates
39- "eloston-chromium"
4039 # "fastscripts" # TODO: Use pre-v3
4140 "legcord"
4241 #"mochi"
Original file line number Diff line number Diff line change 1+ self : super : {
2+ ungoogled-chromium = super . callPackage ./../packages/ungoogled-chromium/package.nix { } ;
3+ }
Original file line number Diff line number Diff line change 1+ # TODO: Build from source and upstream
2+ {
3+ lib ,
4+ stdenvNoCC ,
5+ fetchurl ,
6+ undmg ,
7+ } :
8+ stdenvNoCC . mkDerivation ( finalAttrs : {
9+ pname = "ungoogled-chromium" ;
10+ version = "136.0.7103.113-1.1" ;
11+
12+ src = fetchurl {
13+ url = "https://github.com/ungoogled-software/ungoogled-chromium-macos/releases/download/${ finalAttrs . version } /ungoogled-chromium_${ finalAttrs . version } _arm64-macos.dmg" ;
14+ hash = "sha256-llaXl2jEegL0DyUBHDW15d8jNXr+kF+TJkrBONIlXCU=" ;
15+ } ;
16+
17+ nativeBuildInputs = [ undmg ] ;
18+
19+ sourceRoot = "." ;
20+
21+ installPhase = ''
22+ runHook preInstall
23+
24+ mkdir -p "$out/Applications"
25+ cp -r *.app "$out/Applications"
26+
27+ runHook postInstall
28+ '' ;
29+
30+ meta = with lib ; {
31+ description = "Open source web browser from Google with dependencies on Google web services removed" ;
32+ homepage = "https://github.com/ungoogled-software/ungoogled-chromium-macos" ;
33+ license = lib . licenses . bsd3 ;
34+ mainProgram = "chromium" ;
35+ platforms = platforms . darwin ;
36+ sourceProvenance = with sourceTypes ; [ binaryNativeCode ] ;
37+ } ;
38+ } )
You can’t perform that action at this time.
0 commit comments