From 5ef89e7f1233eca21b389cee6bff736626084ab1 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Wed, 3 May 2023 16:05:37 +0200 Subject: [PATCH] itch: 25.5.1 -> 25.6.2 --- pkgs/games/itch/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/games/itch/default.nix b/pkgs/games/itch/default.nix index ca0a04a8492d..a075a789f9d2 100644 --- a/pkgs/games/itch/default.nix +++ b/pkgs/games/itch/default.nix @@ -1,6 +1,5 @@ { lib , stdenvNoCC -, fetchpatch , fetchzip , fetchFromGitHub , butler @@ -12,23 +11,14 @@ }: stdenvNoCC.mkDerivation rec { pname = "itch"; - version = "25.5.1"; + version = "25.6.2"; src = fetchzip { url = "https://broth.itch.ovh/${pname}/linux-amd64/${version}/itch.zip"; stripRoot = false; - sha256 = "sha256-ejfS+sqhacW2h8u96W4fout3V8xrBs0SrW5w/7X83m4="; + sha256 = "sha256-F/vaYBHCygseiKNMJ+jBy31YDIFqYToAETGUl/pkHII="; }; - patches = [ - # Fixes crash while browsing the store. - (fetchpatch { - name = "itch.patch"; - url = "https://aur.archlinux.org/cgit/aur.git/plain/itch.patch?h=itch-bin&id=0b181454567029141749f870880b10093216e133"; - sha256 = "sha256-gmLL/BMondSflERm0z+DuGDP56JhDXiyxEwLUavTD8Q="; - }) - ]; - itch-setup = fetchzip { url = "https://broth.itch.ovh/itch-setup/linux-amd64/1.26.0/itch-setup.zip"; stripRoot = false; @@ -39,8 +29,8 @@ stdenvNoCC.mkDerivation rec { fetchFromGitHub { owner = "itchio"; repo = pname; - rev = "v${version}"; - hash = "sha256-DZBmf8fe0zw5uiQjNKXw8g/vU2hjNDa87z/7XuhyXog="; + rev = "v25.6.1-canary"; # Use ${version} if possible + hash = "sha256-iBp7K7AW97SOlRa8N8TW2LcVtmUi9JU00fYUuPwKORc="; sparseCheckout = [ sparseCheckout ]; } + sparseCheckout;