diff options
Diffstat (limited to 'nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix b/nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix index 8708ee28807d..8733d20e9fab 100644 --- a/nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix +++ b/nixpkgs/pkgs/data/icons/whitesur-icon-theme/default.nix @@ -6,23 +6,34 @@ , jdupes , boldPanelIcons ? false , blackPanelIcons ? false +, alternativeIcons ? false , themeVariants ? [] }: -let - pname = "Whitesur-icon-theme"; +let pname = "Whitesur-icon-theme"; in -lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "grey" "nord" "all" ] themeVariants +lib.checkListOfEnum "${pname}: theme variants" [ + "default" + "purple" + "pink" + "red" + "orange" + "yellow" + "green" + "grey" + "nord" + "all" +] themeVariants stdenvNoCC.mkDerivation rec { inherit pname; - version = "2022-05-11"; + version = "2023-01-08"; src = fetchFromGitHub { owner = "vinceliuice"; repo = pname; rev = version; - sha256 = "sha256-7Bbkjbh6nZdYot0tJMWFuW1Jnl9U4KOLN/n+z92UWh4="; + hash = "sha256-xqKGZPlGl8kNZ4AQYZWAywL+6UxwGzYOZ9WvB85JKZk="; }; nativeBuildInputs = [ gtk3 jdupes ]; @@ -32,7 +43,6 @@ stdenvNoCC.mkDerivation rec { # These fixup steps are slow and unnecessary dontPatchELF = true; dontRewriteSymlinks = true; - dontDropIconThemeCache = true; postPatch = '' @@ -45,6 +55,7 @@ stdenvNoCC.mkDerivation rec { ./install.sh --dest $out/share/icons \ --name WhiteSur \ --theme ${builtins.toString themeVariants} \ + ${lib.optionalString alternativeIcons "--alternative"} \ ${lib.optionalString boldPanelIcons "--bold"} \ ${lib.optionalString blackPanelIcons "--black"} |