From 4f9b3c25488c3cb3424f02725b06c9519999ef8a Mon Sep 17 00:00:00 2001 From: Thomas Zahner Date: Fri, 5 Dec 2025 15:55:40 +0100 Subject: [PATCH] lychee: 0.21.0 -> 0.22.0 Note that we include one revision after 0.22.0 where octocrab was bumped to v0.48.1. This fixes a build error. See https://github.com/XAMPPRocky/octocrab/pull/828 --- pkgs/by-name/ly/lychee/package.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ly/lychee/package.nix b/pkgs/by-name/ly/lychee/package.nix index 64f22e642e7e..c646a40a592f 100644 --- a/pkgs/by-name/ly/lychee/package.nix +++ b/pkgs/by-name/ly/lychee/package.nix @@ -17,12 +17,13 @@ let in rustPlatform.buildRustPackage rec { pname = "lychee"; - version = "0.21.0"; + version = "0.22.0-unstable-2025-12-05"; src = fetchFromGitHub { owner = "lycheeverse"; repo = "lychee"; - tag = "lychee-v${version}"; + # tag = "lychee-v${version}"; # use again with next release + rev = "db0f8a842f594e0a879563caf7d183266c02ca95"; # one revision after 0.22.0 leaveDotGit = true; postFetch = '' GIT_DATE=$(git -C $out/.git show -s --format=%cs) @@ -32,10 +33,10 @@ rustPlatform.buildRustPackage rec { '("cargo:rustc-env=GIT_DATE={}", "'$GIT_DATE'")' rm -rf $out/.git ''; - hash = "sha256-Nt7LsnQkWQS0f2/lS8WNYkI+XbKUSHQ6bNf9FNjfk7A="; + hash = "sha256-l8/llYq8rwt+UQMLnsva4/2m53cwqaJXD/XvgEfxXg4="; }; - cargoHash = "sha256-1sqFjNil6KktpqrsXXgt3xtOz7eFQc2skkFHqmTMDg4="; + cargoHash = "sha256-03eahQ6GvOPxnvC82lfT1J/XfOg9V7gOZeOEBJx8IYY="; nativeBuildInputs = [ pkg-config @@ -56,8 +57,6 @@ rustPlatform.buildRustPackage rec { "--tests" ]; - checkType = "debug"; # compilation fails otherwise - checkFlags = [ # Network errors for all of these tests # "error reading DNS system conf: No such file or directory (os error 2)" } }