From 900cff8cd8ee9130629a8075faaebf039ce6ef56 Mon Sep 17 00:00:00 2001 From: mana-byte Date: Sun, 1 Feb 2026 00:00:35 +0100 Subject: [PATCH] skim: 0.20.5 -> 2.0.1 --- pkgs/by-name/sk/skim/package.nix | 54 +++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/sk/skim/package.nix b/pkgs/by-name/sk/skim/package.nix index fda052e974da..0ef195115394 100644 --- a/pkgs/by-name/sk/skim/package.nix +++ b/pkgs/by-name/sk/skim/package.nix @@ -1,6 +1,6 @@ { lib, - stdenv, + tmux, fetchFromGitHub, installShellFiles, nix-update-script, @@ -9,10 +9,9 @@ skim, testers, }: - -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "skim"; - version = "0.20.5"; + version = "2.0.1"; outputs = [ "out" @@ -23,17 +22,21 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "skim-rs"; repo = "skim"; - tag = "v${version}"; - hash = "sha256-BX0WW7dNpNLwxlclFCxj0QnrQ58lchKiEnmethzceqk="; + tag = "v${finalAttrs.version}"; + hash = "sha256-MQV7Fcbna6x4t3NFFn8m/EHvOM1CrPpfdwUJGQz09LU="; }; postPatch = '' sed -i -e "s|expand(':h:h')|'$out'|" plugin/skim.vim ''; - cargoHash = "sha256-t2hkWTb/GhesNCWe2/YunZFo26xcXMjoNCiaKaFLOBk="; + cargoHash = "sha256-BlY1idYk6LpVI40dLdH0Sn49ZChbecp6KhwWORgKP3k="; nativeBuildInputs = [ installShellFiles ]; + nativeCheckInputs = [ tmux ]; + + # frizbee requires nightly features + env.RUSTC_BOOTSTRAP = 1; postBuild = '' cat <