2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
lib,
|
2024-02-26 14:38:51 -05:00
|
|
|
firefox-gx-src,
|
2024-06-24 11:38:30 -04:00
|
|
|
mkVersion,
|
|
|
|
stdenvNoCC,
|
2024-02-21 14:36:13 -05:00
|
|
|
}:
|
2024-02-26 14:38:51 -05:00
|
|
|
stdenvNoCC.mkDerivation {
|
2023-10-09 04:13:58 -04:00
|
|
|
pname = "firefox-gx";
|
2024-06-24 11:38:30 -04:00
|
|
|
version = mkVersion firefox-gx-src;
|
2023-10-09 04:13:58 -04:00
|
|
|
|
2024-02-26 14:38:51 -05:00
|
|
|
src = firefox-gx-src;
|
2023-10-09 04:13:58 -04:00
|
|
|
|
2024-02-21 14:36:13 -05:00
|
|
|
installPhase = ''
|
|
|
|
# Personal changes
|
|
|
|
sed -i 's/var(--fuchsia))/var(--purple))/' ./chrome/components/ogx_root-personal.css
|
2024-06-11 11:13:40 -04:00
|
|
|
sed -i 's#../newtab/wallpaper-dark1.png#../newtab/wallpaper-dark2.png#' ./chrome/components/ogx_root-personal.css
|
2023-10-10 15:34:34 -04:00
|
|
|
|
2024-02-21 14:36:13 -05:00
|
|
|
mkdir -p $out
|
|
|
|
cp -r ./* $out
|
|
|
|
'';
|
2023-10-09 04:13:58 -04:00
|
|
|
|
2024-06-24 11:38:30 -04:00
|
|
|
meta = {
|
2024-02-21 14:36:13 -05:00
|
|
|
description = "Firefox Theme CSS to Opera GX Lovers";
|
|
|
|
homepage = "https://github.com/Godiesc/firefox-gx";
|
2024-06-24 11:38:30 -04:00
|
|
|
license = lib.licenses.mspl;
|
2024-02-21 14:36:13 -05:00
|
|
|
};
|
|
|
|
}
|