rose-pine-gtk: use nixpkgs-fmt, NoCC, and update icon cache

authored by Ian McFarlane and committed by Ian McFarlane fc0c3f53 b92f2042

+22 -13
+14 -5
pkgs/data/icons/rose-pine/default.nix
··· 1 - { 2 - stdenv, 3 - lib, 4 - fetchFromGitHub, 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , gtk3 5 5 }: 6 - stdenv.mkDerivation rec { 6 + 7 + stdenvNoCC.mkDerivation rec { 7 8 pname = "rose-pine-icon-theme"; 8 9 version = "unstable-2022-09-01"; 9 10 ··· 13 14 rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 14 15 sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 15 16 }; 17 + 18 + nativeBuildInputs = [ 19 + gtk3 20 + ]; 16 21 17 22 # avoid the makefile which is only for the theme maintainers 18 23 dontBuild = true; ··· 24 29 mv icons/rose-pine-icons $out/share/icons/rose-pine 25 30 mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn 26 31 mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon 32 + 33 + for theme in $out/share/icons/*; do 34 + gtk-update-icon-cache $theme 35 + done 27 36 28 37 runHook postInstall 29 38 '';
+8 -8
pkgs/data/themes/rose-pine-gtk/default.nix
··· 1 - { 2 - stdenv, 3 - fetchFromGitHub, 4 - lib, 5 - gnome-themes-extra, 6 - gtk-engine-murrine, 7 - gtk_engines, 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , gnome-themes-extra 5 + , gtk-engine-murrine 6 + , gtk_engines 8 7 }: 9 - stdenv.mkDerivation rec { 8 + 9 + stdenvNoCC.mkDerivation rec { 10 10 pname = "rose-pine-gtk-theme"; 11 11 version = "unstable-2022-09-01"; 12 12