Change:
Package name: itch Latest released version: 26.1.3 Current version on the unstable channel: 26.1.3 Current version on the stable/release channel: 26.1.3 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- The current version is broken since butler is marked broken Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
The latest version on seems to be 26.1.3 which is used in the package.
There is 26.1.5 as a source code , but current package uses binaryBytecode

Discussion:
<del> { lib , buildGoModule , fetchFromGitHub , stdenv , Cocoa , fetchpatch }: buildGoModule rec { pname = "butler"; version = "15.21.0"; src = fetchFromGitHub { owner = "itchio"; repo = pname; rev = "v${version}"; sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM="; }; buildInputs = lib.optionals stdenv.isDarwin [ Cocoa ]; patches = [ # update x/sys dependency for darwin build https://github.com/itchio/butler/pull/245 (fetchpatch { url = "https://github.com/itchio/butler/pull/245/commits/ef651d373e3061fda9692dd44ae0f7ce215e9655.patch"; hash = "sha256-rZZn/OGiv3mRyy89uORyJ99zWN21kZCCQAlFvSKxlPU="; }) ]; proxyVendor = true; vendorHash = "sha256-GvUUCQ2BPW0HlXZljBWJ2Wyys9OEIM55dEWAa6J19Zg="; doCheck = false; meta = with lib; { # butler cannot be build with Go >=1.21 # See https://github.com/itchio/butler/issues/256 # and https://github.com/itchio/dmcunrar-go/issues/1 # The dependency causing the issue is marked as 'no maintainence intended'. # Last butler release is from 05/2021. broken = true; description = "Command-line itch.io helper"; homepage = "https://github.com/itchio/butler"; license = licenses.mit; maintainers = with maintainers; [ martfont ]; }; } </del>

<del> { lib , stdenvNoCC , fetchzip , fetchFromGitHub , butler , electron , steam-run , makeWrapper , copyDesktopItems , makeDesktopItem </del> <ins> { lib, stdenvNoCC, fetchzip, fetchFromGitHub, electron, steam-run, makeWrapper, copyDesktopItems, makeDesktopItem, </ins> }: <del> stdenvNoCC.mkDerivation rec { pname = "itch"; version = "26.1.3"; # TODO: Using kitch instead of itch, revert when possible src = fetchzip { url = "https://broth.itch.ovh/kitch/linux-amd64/${version}/archive/default#.zip"; </del> <ins> let version = "26.1.9"; butler = fetchzip { url = "https://broth.itch.zone/butler/linux-amd64/15.21.0/butler.zip"; </ins> stripRoot = false; <del> hash = "sha256-FHwbzLPMzIpyg6KyYTq6/rSNRH76dytwb9D5f9vNKkU="; </del> <ins> hash = "sha256-jHni/5qf7xST6RRonP2EW8fJ6647jobzrnHe8VMx4IA="; </ins> }; itch-setup = fetchzip {

hash = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA="; }; <del> icons = let sparseCheckout = "/release/images/itch-icons"; in </del> <ins> sparseCheckout = "/release/images/itch-icons"; icons = </ins> fetchFromGitHub { <del> owner = "itchio"; repo = "itch"; rev = "v${version}-canary"; hash = "sha256-0AMyDZ5oI7/pSvudoEqXnMZJtpcKVlUSR6YVm+s4xv0="; sparseCheckout = [ sparseCheckout ]; } + sparseCheckout; </del> <ins> owner = "itchio"; repo = "itch"; rev = "v${version}"; hash = "sha256-jugg+hdP0y0OkFhdQuEI9neWDuNf2p3+DQuwxe09Zck="; sparseCheckout = [ sparseCheckout ]; } + sparseCheckout; in stdenvNoCC.mkDerivation (finalAttrs: { pname = "itch"; inherit version; </ins> <del> nativeBuildInputs = [ copyDesktopItems makeWrapper ]; </del> <ins> src = fetchzip { url = "https://broth.itch.ovh/itch/linux-amd64/${finalAttrs.version}/archive/default#.zip"; stripRoot = false; hash = "sha256-4k6afBgOKGs7rzXAtIBpmuQeeT/Va8/0bZgNYjuJhgI="; }; nativeBuildInputs = [ copyDesktopItems makeWrapper ]; </ins> desktopItems = [ (makeDesktopItem {

tryExec = "itch"; icon = "itch"; desktopName = "itch"; <del> mimeTypes = [ "x-scheme-handler/itchio" "x-scheme-handler/itch" ]; </del> <ins> mimeTypes = [ "x-scheme-handler/itchio" "x-scheme-handler/itch" ]; </ins> comment = "Install and play itch.io games easily"; categories = [ "Game" ]; })

installPhase = '' runHook preInstall <del> # TODO: Remove when the next stable Itch is stabilized substituteInPlace ./resources/app/package.json  --replace "kitch" "itch" </del> mkdir -p $out/bin $out/share/itch/resources/app cp -r resources/app "$out/share/itch/resources/" install -Dm644 LICENSE -t "$out/share/licenses/$pkgname/" install -Dm644 LICENSES.chromium.html -t "$out/share/licenses/$pkgname/" <del> for icon in $icons/icon*.png </del> <ins> for icon in ${icons}/icon*.png </ins> do <del> iconsize="''${icon#$icons/icon}" </del> <ins> iconsize="''${icon#${icons}/icon}" </ins> iconsize="''${iconsize%.png}" icondir="$out/share/icons/hicolor/''${iconsize}x''${iconsize}/apps/" install -Dm644 "$icon" "$icondir/itch.png"

--add-flags ${electron}/bin/electron  --add-flags $out/share/itch/resources/app  --set BROTH_USE_LOCAL butler,itch-setup  <del> --prefix PATH : ${butler}/bin/:${itch-setup} </del> <ins> --prefix PATH : ${butler}:${itch-setup} </ins> ''; <del> meta = with lib; { </del> <ins> meta = { </ins> description = "Best way to play itch.io games"; homepage = "https://github.com/itchio/itch"; <del> license = licenses.mit; platforms = platforms.linux; </del> <ins> license = lib.licenses.mit; platforms = lib.platforms.linux; </ins> sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; <del> maintainers = with maintainers; [ pasqui23 ]; </del> <ins> maintainers = with lib.maintainers; [ pasqui23 ]; </ins> mainProgram = "itch"; }; <del> } </del> <ins> }) </ins>

bro = throw "'bro' has been renamed to/replaced by 'zeek'"; # Converted to throw 2023-09-10 inherit (libsForQt5.mauiPackages) buho; # added 2022-05-17 bukut = throw "bukut has been removed since it has been archived by upstream"; # Added 2023-05-24 <ins> butler = throw "butler was removed because it was broken and abandoned upstream"; # added 2024-06-18 </ins> # Shorter names; keep the longer name for back-compat. Added 2023-04-11 buildFHSUserEnv = buildFHSEnv; buildFHSUserEnvChroot = buildFHSEnvChroot;

btc-rpc-explorer = callPackage ../tools/misc/btc-rpc-explorer { }; <del> butler = callPackage ../by-name/bu/butler/package.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; }; </del> carbon-now-cli = callPackage ../tools/typesetting/carbon-now-cli { }; cf-vault = callPackage ../tools/admin/cf-vault { };