Skip to content

Commit b4119a4

Browse files
authored
whitesur-gtk-theme: 2024-05-01 -> 2024.09.02 (#352423)
2 parents 5c7d5fb + 486288a commit b4119a4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pkgs/data/themes/whitesur/default.nix

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
, stdenv
33
, fetchFromGitHub
44
, gitUpdater
5+
, dialog
56
, glib
6-
, gnome-shell
77
, gnome-themes-extra
88
, jdupes
99
, libxml2
@@ -32,26 +32,26 @@ lib.checkListOfEnum "${pname}: alt variants" [ "normal" "alt" "all" ] altVariant
3232
lib.checkListOfEnum "${pname}: color variants" [ "Light" "Dark" ] colorVariants
3333
lib.checkListOfEnum "${pname}: opacity variants" [ "normal" "solid" ] opacityVariants
3434
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
35-
lib.checkListOfEnum "${pname}: Activities icon variants" [ "standard" "simple" "gnome" "ubuntu" "tux" "arch" "manjaro" "fedora" "debian" "void" "opensuse" "popos" "mxlinux" "zorin" "budgie" "gentoo" ] (single iconVariant)
35+
lib.checkListOfEnum "${pname}: activities icon variants" [ "standard" "apple" "simple" "gnome" "ubuntu" "tux" "arch" "manjaro" "fedora" "debian" "void" "opensuse" "popos" "mxlinux" "zorin" "budgie" "gentoo" ] (single iconVariant)
3636
lib.checkListOfEnum "${pname}: nautilus style" [ "stable" "normal" "mojave" "glassy" ] (single nautilusStyle)
3737
lib.checkListOfEnum "${pname}: nautilus sidebar minimum width" [ "default" "180" "220" "240" "260" "280" ] (single nautilusSize)
3838
lib.checkListOfEnum "${pname}: panel opacity" [ "default" "30" "45" "60" "75" ] (single panelOpacity)
3939
lib.checkListOfEnum "${pname}: panel size" [ "default" "smaller" "bigger" ] (single panelSize)
4040

4141
stdenv.mkDerivation rec {
4242
pname = "whitesur-gtk-theme";
43-
version = "2024-05-01";
43+
version = "2024.09.02";
4444

4545
src = fetchFromGitHub {
4646
owner = "vinceliuice";
4747
repo = pname;
4848
rev = version;
49-
sha256 = "sha256-NgmFQtgVJvVXJjZUXt/BIx1hdzjHfVmmwXUCDZZD7+g=";
49+
hash = "sha256-a32iHPcbMYuBy65FWm/fkjwJQE3aVScR3WJJzKTVx9k=";
5050
};
5151

5252
nativeBuildInputs = [
53+
dialog
5354
glib
54-
gnome-shell
5555
jdupes
5656
libxml2
5757
sassc
@@ -68,10 +68,10 @@ stdenv.mkDerivation rec {
6868
done
6969
7070
# Do not provide `sudo`, as it is not needed in our use case of the install script
71-
substituteInPlace shell/lib-core.sh --replace '$(which sudo)' false
71+
substituteInPlace shell/lib-core.sh --replace-fail '$(which sudo)' false
7272
7373
# Provides a dummy home directory
74-
substituteInPlace shell/lib-core.sh --replace 'MY_HOME=$(getent passwd "''${MY_USERNAME}" | cut -d: -f6)' 'MY_HOME=/tmp'
74+
substituteInPlace shell/lib-core.sh --replace-fail 'MY_HOME=$(getent passwd "''${MY_USERNAME}" | cut -d: -f6)' 'MY_HOME=/tmp'
7575
'';
7676

7777
dontBuild = true;
@@ -81,19 +81,19 @@ stdenv.mkDerivation rec {
8181
8282
mkdir -p $out/share/themes
8383
84-
./install.sh \
84+
./install.sh \
8585
${toString (map (x: "--alt " + x) altVariants)} \
8686
${toString (map (x: "--color " + x) colorVariants)} \
8787
${toString (map (x: "--opacity " + x) opacityVariants)} \
8888
${toString (map (x: "--theme " + x) themeVariants)} \
89-
${lib.optionalString (iconVariant != null) ("--icon " + iconVariant)} \
90-
${lib.optionalString (nautilusStyle != null) ("--nautilus-style " + nautilusStyle)} \
89+
${lib.optionalString (nautilusStyle != null) ("--nautilus " + nautilusStyle)} \
9190
${lib.optionalString (nautilusSize != null) ("--size " + nautilusSize)} \
92-
${lib.optionalString (panelOpacity != null) ("--panel-opacity " + panelOpacity)} \
93-
${lib.optionalString (panelSize != null) ("--panel-size " + panelSize)} \
9491
${lib.optionalString roundedMaxWindow "--roundedmaxwindow"} \
9592
${lib.optionalString nordColor "--nordcolor"} \
9693
${lib.optionalString darkerColor "--darkercolor"} \
94+
${lib.optionalString (iconVariant != null) ("--gnome-shell -i " + iconVariant)} \
95+
${lib.optionalString (panelSize != null) ("--gnome-shell -height " + panelSize)} \
96+
${lib.optionalString (panelOpacity != null) ("--gnome-shell -panelopacity " + panelOpacity)} \
9797
--dest $out/share/themes
9898
9999
jdupes --quiet --link-soft --recurse $out/share

0 commit comments

Comments
 (0)