Loading pkgs/by-name/ca/catppuccin-cursors/package.nix +49 −15 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchFromGitHub , inkscape , just , xcursorgen , hyprcursor , xcur2png { lib, stdenvNoCC, fetchFromGitHub, inkscape, just, xcursorgen, hyprcursor, xcur2png, catppuccin-whiskers, python3, python3Packages, }: let dimensions = { palette = [ "frappe" "latte" "macchiato" "mocha" ]; color = [ "Blue" "Dark" "Flamingo" "Green" "Lavender" "Light" "Maroon" "Mauve" "Peach" "Pink" "Red" "Rosewater" "Sapphire" "Sky" "Teal" "Yellow" ]; 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 }: palette + color; variants = lib.mapCartesianProduct variantName dimensions; version = "0.4.0"; version = "1.0.0"; in stdenvNoCC.mkDerivation { pname = "catppuccin-cursors"; Loading @@ -25,10 +50,19 @@ stdenvNoCC.mkDerivation { owner = "catppuccin"; repo = "cursors"; rev = "v${version}"; hash = "sha256-VxLwZkZdV1xH4jeqtszqSnhNrgF3uamEXBLPKIc4lXE="; hash = "sha256-LZ2k8i4w68VW4YFmC659iMQsQyduHJOfyL8cLlXhUHo="; }; nativeBuildInputs = [ just inkscape xcursorgen hyprcursor xcur2png ]; nativeBuildInputs = [ just inkscape xcursorgen hyprcursor xcur2png catppuccin-whiskers python3 python3Packages.pyside6 ]; outputs = variants ++ [ "out" ]; # dummy "out" output to prevent breakage Loading Loading
pkgs/by-name/ca/catppuccin-cursors/package.nix +49 −15 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchFromGitHub , inkscape , just , xcursorgen , hyprcursor , xcur2png { lib, stdenvNoCC, fetchFromGitHub, inkscape, just, xcursorgen, hyprcursor, xcur2png, catppuccin-whiskers, python3, python3Packages, }: let dimensions = { palette = [ "frappe" "latte" "macchiato" "mocha" ]; color = [ "Blue" "Dark" "Flamingo" "Green" "Lavender" "Light" "Maroon" "Mauve" "Peach" "Pink" "Red" "Rosewater" "Sapphire" "Sky" "Teal" "Yellow" ]; 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 }: palette + color; variants = lib.mapCartesianProduct variantName dimensions; version = "0.4.0"; version = "1.0.0"; in stdenvNoCC.mkDerivation { pname = "catppuccin-cursors"; Loading @@ -25,10 +50,19 @@ stdenvNoCC.mkDerivation { owner = "catppuccin"; repo = "cursors"; rev = "v${version}"; hash = "sha256-VxLwZkZdV1xH4jeqtszqSnhNrgF3uamEXBLPKIc4lXE="; hash = "sha256-LZ2k8i4w68VW4YFmC659iMQsQyduHJOfyL8cLlXhUHo="; }; nativeBuildInputs = [ just inkscape xcursorgen hyprcursor xcur2png ]; nativeBuildInputs = [ just inkscape xcursorgen hyprcursor xcur2png catppuccin-whiskers python3 python3Packages.pyside6 ]; outputs = variants ++ [ "out" ]; # dummy "out" output to prevent breakage Loading