10 stdenvNoCC.mkDerivation rec {
11 pname = "rose-pine-gtk-theme";
14 src = fetchFromGitHub {
18 hash = "sha256-vCWs+TOVURl18EdbJr5QAHfB+JX9lYJ3TPO6IklKeFE=";
22 gnome-themes-extra # adwaita engine for Gtk2
23 gtk_engines # pixmap engine for Gtk2
26 propagatedUserEnvPkgs = [
27 gtk-engine-murrine # murrine engine for Gtk2
30 # avoid the makefile which is only for theme maintainers
36 mkdir -p $out/share/themes/rose-pine{,-dawn,-moon}/gtk-4.0
38 variants=("rose-pine" "rose-pine-dawn" "rose-pine-moon")
39 for n in "''${variants[@]}"; do
40 cp -r $src/gtk3/"''${n}"-gtk/* $out/share/themes/"''${n}"
41 cp -r $src/gtk4/"''${n}".css $out/share/themes/"''${n}"/gtk-4.0/gtk.css
48 description = "Rosé Pine theme for GTK";
49 homepage = "https://github.com/rose-pine/gtk";
50 license = licenses.gpl3Only;
51 platforms = platforms.linux;
52 maintainers = with maintainers; [