From 2bd9cf439c8d844e78383dbc8fa982dd391b9dee Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 26 Feb 2026 09:08:18 +0100 Subject: [PATCH] koboredux: use fetchItchIo --- pkgs/by-name/ko/koboredux/package.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ko/koboredux/package.nix b/pkgs/by-name/ko/koboredux/package.nix index 84e97c1f5bdb..46b623d2ef6c 100644 --- a/pkgs/by-name/ko/koboredux/package.nix +++ b/pkgs/by-name/ko/koboredux/package.nix @@ -3,7 +3,7 @@ stdenv, fetchFromGitHub, fetchpatch, - requireFile, + fetchItchIo, cmake, pkg-config, SDL2, @@ -31,19 +31,12 @@ let sha256 = "09h9r65z8bar2z89s09j6px0gdq355kjf38rmd85xb2aqwnm6xig"; }; - # TODO: Replace this with fetchItchIo - assets_src = requireFile { + assets_src = fetchItchIo { name = "koboredux-${version}-Linux.tar.bz2"; + gameUrl = "https://olofson.itch.io/kobo-redux"; sha256 = "11bmicx9i11m4c3dp19jsql0zy4rjf5a28x4hd2wl8h3bf8cdgav"; - message = '' - Please purchase the game on https://olofson.itch.io/kobo-redux - and download the Linux build. - - Once you have downloaded the file, please use the following command - and re-run the installation: - - nix-prefetch-url file://\$PWD/koboredux-${version}-Linux.tar.bz2 - + upload = "709961"; + extraMessage = '' Alternatively, install the "koboredux-free" package, which replaces the proprietary assets with a placeholder theme. '';