mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
parent
adf9aaad17
commit
a6306616d8
1 changed files with 6 additions and 5 deletions
|
|
@ -12,7 +12,7 @@
|
|||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "skim";
|
||||
version = "4.0.0";
|
||||
version = "4.7.0";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
|
|
@ -24,14 +24,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
owner = "skim-rs";
|
||||
repo = "skim";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-1ckQ9ZWf4PWgRxE8jtQL7yuitPGvgebNJFPMWQ3xdrU=";
|
||||
hash = "sha256-ek+h/MWxvUZKfUKSYL501+qqwFKHifopj2PicvnEr0Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
||||
substituteInPlace plugin/skim.vim \
|
||||
--replace-fail "expand('<sfile>:h:h')" "'$out'"
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-AIMmgspcj40Ktw5THk2p/bOcPBsqjD0/9jfpOJEm23w=";
|
||||
cargoHash = "sha256-n+fLtinvMchjsztH5GmPIjG+2spUu0Ayw9yqHTJRxAQ=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
nativeCheckInputs = [
|
||||
|
|
@ -65,7 +66,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
useNextest = true;
|
||||
|
||||
checkPhase = ''
|
||||
cargo nextest run --features test-utils --release --offline --lib --bins --examples --tests
|
||||
cargo nextest run --release --offline --lib --bins --examples --tests
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue