diff options
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/catppuccin-cursors/default.nix | 65 | ||||
-rw-r--r-- | pkgs/data/icons/whitesur-icon-theme/default.nix | 4 |
2 files changed, 2 insertions, 67 deletions
diff --git a/pkgs/data/icons/catppuccin-cursors/default.nix b/pkgs/data/icons/catppuccin-cursors/default.nix deleted file mode 100644 index eeb9dd3227f07..0000000000000 --- a/pkgs/data/icons/catppuccin-cursors/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, unzip -}: - -let - dimensions = { - palette = [ "Frappe" "Latte" "Macchiato" "Mocha" ]; - color = [ "Blue" "Dark" "Flamingo" "Green" "Lavender" "Light" "Maroon" "Mauve" "Peach" "Pink" "Red" "Rosewater" "Sapphire" "Sky" "Teal" "Yellow" ]; - }; - variantName = { palette, color }: (lib.strings.toLower palette) + color; - variants = lib.mapCartesianProduct variantName dimensions; -in -stdenvNoCC.mkDerivation rec { - pname = "catppuccin-cursors"; - version = "0.2.0"; - dontBuild = true; - - src = fetchFromGitHub { - owner = "catppuccin"; - repo = "cursors"; - rev = "v${version}"; - sha256 = "sha256-TgV5f8+YWR+h61m6WiBMg3aBFnhqShocZBdzZHSyU2c="; - sparseCheckout = [ "cursors" ]; - }; - - nativeBuildInputs = [ unzip ]; - - outputs = variants ++ [ "out" ]; # dummy "out" output to prevent breakage - - outputsToInstall = []; - - installPhase = '' - runHook preInstall - - for output in $(getAllOutputNames); do - if [ "$output" != "out" ]; then - local outputDir="''${!output}" - local iconsDir="$outputDir"/share/icons - - mkdir -p "$iconsDir" - - # Convert to kebab case with the first letter of each word capitalized - local variant=$(sed 's/\([A-Z]\)/-\1/g' <<< "$output") - local variant=''${variant^} - - unzip "cursors/Catppuccin-$variant-Cursors.zip" -d "$iconsDir" - fi - done - - # Needed to prevent breakage - mkdir -p "$out" - - runHook postInstall - ''; - - meta = with lib; { - description = "Catppuccin cursor theme based on Volantes"; - homepage = "https://github.com/catppuccin/cursors"; - license = licenses.gpl2; - platforms = platforms.linux; - maintainers = with maintainers; [ dixslyf ]; - }; -} diff --git a/pkgs/data/icons/whitesur-icon-theme/default.nix b/pkgs/data/icons/whitesur-icon-theme/default.nix index 70f5357a89f84..588389f856ed2 100644 --- a/pkgs/data/icons/whitesur-icon-theme/default.nix +++ b/pkgs/data/icons/whitesur-icon-theme/default.nix @@ -27,13 +27,13 @@ lib.checkListOfEnum "${pname}: theme variants" [ stdenvNoCC.mkDerivation rec { inherit pname; - version = "2024-04-22"; + version = "2024-05-28"; src = fetchFromGitHub { owner = "vinceliuice"; repo = pname; rev = version; - hash = "sha256-CnAnD5ky+LNcyE59O/iGeoe+1JyhtPM/XUHwU5d8FA4="; + hash = "sha256-60pz/ET3jorEui31Aq6I3LMTz0djwWUv7poEI0USzJw="; }; nativeBuildInputs = [ gtk3 jdupes ]; |