2024-06-26 14:47:14 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
firefox-gx-src,
|
|
|
|
stdenvNoCC,
|
|
|
|
}: let
|
2024-07-21 16:10:13 -04:00
|
|
|
inherit (import ../../flake/lib.nix {}) mkVersion;
|
2024-06-26 14:47:14 -04:00
|
|
|
in
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "firefox-gx";
|
|
|
|
version = mkVersion firefox-gx-src;
|
|
|
|
|
|
|
|
src = firefox-gx-src;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
# Personal changes
|
|
|
|
sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css
|
|
|
|
sed -i 's#../newtab/wallpaper-dark1.png#../newtab/wallpaper-dark2.png#' ./chrome/components/ogx_root-personal.css
|
|
|
|
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r ./* $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Firefox Theme CSS to Opera GX Lovers";
|
|
|
|
homepage = "https://github.com/Godiesc/firefox-gx";
|
|
|
|
license = lib.licenses.mspl;
|
|
|
|
};
|
|
|
|
}
|