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