2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
2024-02-26 14:38:51 -05:00
|
|
|
firefox-gx-src,
|
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-03-25 22:42:23 -04:00
|
|
|
version = firefox-gx-src.shortRev;
|
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-02-21 14:36:13 -05:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Firefox Theme CSS to Opera GX Lovers";
|
|
|
|
homepage = "https://github.com/Godiesc/firefox-gx";
|
|
|
|
license = licenses.mspl;
|
|
|
|
};
|
|
|
|
}
|