rose-pine-gtk: format

+63 -63
+27 -27
pkgs/data/icons/rose-pine/default.nix
··· 3 3 lib, 4 4 fetchFromGitHub, 5 5 }: 6 - stdenv.mkDerivation rec { 7 - pname = "rose-pine-icon-theme"; 8 - version = "unstable-2022-09-01"; 6 + stdenv.mkDerivation rec { 7 + pname = "rose-pine-icon-theme"; 8 + version = "unstable-2022-09-01"; 9 9 10 - src = fetchFromGitHub { 11 - owner = "rose-pine"; 12 - repo = "gtk"; 13 - rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 14 - sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 15 - }; 10 + src = fetchFromGitHub { 11 + owner = "rose-pine"; 12 + repo = "gtk"; 13 + rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 14 + sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 15 + }; 16 16 17 - # avoid the makefile which is only for the theme maintainers 18 - dontBuild = true; 17 + # avoid the makefile which is only for the theme maintainers 18 + dontBuild = true; 19 19 20 - installPhase = '' 21 - runHook preInstall 20 + installPhase = '' 21 + runHook preInstall 22 22 23 - mkdir -p $out/share/icons 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 23 + mkdir -p $out/share/icons 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 27 28 - runHook postInstall 29 - ''; 28 + runHook postInstall 29 + ''; 30 30 31 - meta = with lib; { 32 - description = "Rosé Pine icon theme for GTK"; 33 - homepage = "https://github.com/rose-pine/gtk"; 34 - license = licenses.gpl3Only; 35 - platforms = platforms.linux; 36 - maintainers = with maintainers; [romildo the-argus]; 37 - }; 38 - } 31 + meta = with lib; { 32 + description = "Rosé Pine icon theme for GTK"; 33 + homepage = "https://github.com/rose-pine/gtk"; 34 + license = licenses.gpl3Only; 35 + platforms = platforms.linux; 36 + maintainers = with maintainers; [romildo the-argus]; 37 + }; 38 + }
+36 -36
pkgs/data/themes/rose-pine-gtk/default.nix
··· 4 4 lib, 5 5 gnome-themes-extra, 6 6 gtk-engine-murrine, 7 - gtk_engines 7 + gtk_engines, 8 8 }: 9 - stdenv.mkDerivation rec { 10 - pname = "rose-pine-${variant}-gtk-theme"; 11 - version = "unstable-2022-09-01"; 9 + stdenv.mkDerivation rec { 10 + pname = "rose-pine-${variant}-gtk-theme"; 11 + version = "unstable-2022-09-01"; 12 12 13 - src = fetchFromGitHub { 14 - owner = "rose-pine"; 15 - repo = "gtk"; 16 - rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 17 - sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 18 - }; 13 + src = fetchFromGitHub { 14 + owner = "rose-pine"; 15 + repo = "gtk"; 16 + rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 17 + sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 18 + }; 19 19 20 - buildInputs = [ 21 - gnome-themes-extra # adwaita engine for Gtk2 22 - gtk_engines # pixmap engine for Gtk2 23 - ]; 20 + buildInputs = [ 21 + gnome-themes-extra # adwaita engine for Gtk2 22 + gtk_engines # pixmap engine for Gtk2 23 + ]; 24 24 25 - propagatedUserEnvPkgs = [ 26 - gtk-engine-murrine # murrine engine for Gtk2 27 - ]; 25 + propagatedUserEnvPkgs = [ 26 + gtk-engine-murrine # murrine engine for Gtk2 27 + ]; 28 28 29 - # avoid the makefile which is only for theme maintainers 30 - dontBuild = true; 29 + # avoid the makefile which is only for theme maintainers 30 + dontBuild = true; 31 31 32 - installPhase = '' 33 - runHook preInstall 32 + installPhase = '' 33 + runHook preInstall 34 34 35 - mkdir -p $out/share/themes 36 - mv gtk3/rose-pine-gtk $out/share/themes/rose-pine 37 - mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon 38 - mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn 39 - mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon 35 + mkdir -p $out/share/themes 36 + mv gtk3/rose-pine-gtk $out/share/themes/rose-pine 37 + mv gtk3/rose-pine-moon-gtk $out/share/themes/rose-pine-moon 38 + mv gtk3/rose-pine-dawn-gtk $out/share/themes/rose-pine-dawn 39 + mv gnome_shell/moon/gnome-shell $out/share/themes/rose-pine-moon 40 40 41 - runHook postInstall 42 - ''; 41 + runHook postInstall 42 + ''; 43 43 44 - meta = with lib; { 45 - description = "Rosé Pine theme for GTK"; 46 - homepage = "https://github.com/rose-pine/gtk"; 47 - license = licenses.gpl3Only; 48 - platforms = platforms.linux; 49 - maintainers = with maintainers; [romildo the-argus]; 50 - }; 51 - } 44 + meta = with lib; { 45 + description = "Rosé Pine theme for GTK"; 46 + homepage = "https://github.com/rose-pine/gtk"; 47 + license = licenses.gpl3Only; 48 + platforms = platforms.linux; 49 + maintainers = with maintainers; [romildo the-argus]; 50 + }; 51 + }