catppuccin-gtk 0 -> 1 attrpath: catppuccin-gtk Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/xv7vbnka9s2ri0d1p7jjc0qh9n1q5871-packages.json.drv building '/nix/store/xv7vbnka9s2ri0d1p7jjc0qh9n1q5871-packages.json.drv'... Going to be running update for following packages: - catppuccin-gtk-0.7.1 Press Enter key to continue... Running update for: - catppuccin-gtk-0.7.1: UPDATING ... - catppuccin-gtk-0.7.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/data/themes/catppuccin-gtk/default.nix b/pkgs/data/themes/catppuccin-gtk/default.nix index 0dc881942bcc..40fd64873811 100644 --- a/pkgs/data/themes/catppuccin-gtk/default.nix +++ b/pkgs/data/themes/catppuccin-gtk/default.nix @@ -29,13 +29,13 @@ lib.checkListOfEnum "${pname}: tweaks" validTweaks tweaks stdenvNoCC.mkDerivation rec { inherit pname; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "catppuccin"; repo = "gtk"; rev = "v${version}"; - hash = "sha256-V3JasiHaATbVDQJeJPeFq5sjbkQnSMbDRWsaRzGccXU="; + hash = "sha256-7EvKcyh9gH/QbiXKlyAKMSBXMF3DmbHD+wJD3Sq39DE="; }; nativeBuildInputs = [ gtk3 sassc ]; No auto update branch exists Old version 0.7.1" not present in master derivation file with contents: { lib , stdenvNoCC , fetchFromGitHub , fetchpatch , gtk3 , colloid-gtk-theme , gnome-themes-extra , gtk-engine-murrine , python3 , sassc , nix-update-script , accents ? [ "blue" ] , size ? "standard" , tweaks ? [ ] , variant ? "frappe" }: let validAccents = [ "blue" "flamingo" "green" "lavender" "maroon" "mauve" "peach" "pink" "red" "rosewater" "sapphire" "sky" "teal" "yellow" ]; validSizes = [ "standard" "compact" ]; validTweaks = [ "black" "rimless" "normal" "float" ]; validVariants = [ "latte" "frappe" "macchiato" "mocha" ]; pname = "catppuccin-gtk"; in lib.checkListOfEnum "${pname}: theme accent" validAccents accents lib.checkListOfEnum "${pname}: color variant" validVariants [variant] lib.checkListOfEnum "${pname}: size variant" validSizes [size] lib.checkListOfEnum "${pname}: tweaks" validTweaks tweaks stdenvNoCC.mkDerivation rec { inherit pname; version = "0.7.2"; src = fetchFromGitHub { owner = "catppuccin"; repo = "gtk"; rev = "v${version}"; hash = "sha256-7EvKcyh9gH/QbiXKlyAKMSBXMF3DmbHD+wJD3Sq39DE="; }; nativeBuildInputs = [ gtk3 sassc ]; patches = [ ./colloid-src-git-reset.patch # Can be removed next release # Adds compatibility with the 2.x.x versions of the catppuccin python package (fetchpatch { name = "catppuccin-python-compatibility.patch"; url = "https://github.com/catppuccin/gtk/commit/355e12387f73b27cf4734a6a3eb431554fabb74f.patch"; hash = "sha256-4vgZbNeGMtsQEitIWDCVb5o4fAjhVu3iIUttUYqtHPc="; }) ]; buildInputs = [ gnome-themes-extra (python3.withPackages (ps: [ ps.catppuccin ])) ]; propagatedUserEnvPkgs = [ gtk-engine-murrine ]; postUnpack = '' rm -rf source/colloid cp -r ${colloid-gtk-theme.src} source/colloid chmod -R +w source/colloid ''; postPatch = '' patchShebangs --build colloid/install.sh colloid/build.sh ''; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall cp -r colloid colloid-base mkdir -p $out/share/themes export HOME=$(mktemp -d) python3 install.py ${variant} \ ${lib.optionalString (accents != []) "--accent " + builtins.toString accents} \ ${lib.optionalString (size != []) "--size " + size} \ ${lib.optionalString (tweaks != []) "--tweaks " + builtins.toString tweaks} \ --dest $out/share/themes runHook postInstall ''; passthru.updateScript = nix-update-script { }; meta = with lib; { description = "Soothing pastel theme for GTK"; homepage = "https://github.com/catppuccin/gtk"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ fufexan dixslyf ]; }; }