vimPlugins.blink-cmp: 0.13.1 -> 0.14.0
Diff: https://github.com/Saghen/blink.cmp/compare/refs/tags/v0.13.1...v0.14.0 Changelog: https://github.com/Saghen/blink.cmp/blob/v0.14.0/CHANGELOG.md
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
stdenv,
|
||||
vimUtils,
|
||||
nix-update-script,
|
||||
git,
|
||||
}:
|
||||
let
|
||||
version = "0.13.1";
|
||||
version = "0.14.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Saghen";
|
||||
repo = "blink.cmp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eOlTkWMzQTZPPKPKUxg8Q2PwkOhfaQdrMZkg9Ew8t/g=";
|
||||
hash = "sha256-aY+bBP3DOdr+yA0HKKUBR/87g096NXH9h4EUrIJY92Y=";
|
||||
};
|
||||
blink-fuzzy-lib = rustPlatform.buildRustPackage {
|
||||
inherit version src;
|
||||
@@ -41,18 +40,8 @@ vimUtils.buildVimPlugin {
|
||||
''
|
||||
mkdir -p target/release
|
||||
ln -s ${blink-fuzzy-lib}/lib/libblink_cmp_fuzzy${ext} target/release/libblink_cmp_fuzzy${ext}
|
||||
echo -n "nix" > target/release/version
|
||||
'';
|
||||
|
||||
# TODO: Remove this patch when updating to next version
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "blink-add-bypass-for-nix.patch";
|
||||
url = "https://github.com/Saghen/blink.cmp/commit/6c83ef1ae34abd7ef9a32bfcd9595ac77b61037c.diff?full_index=1";
|
||||
hash = "sha256-304F1gDDKVI1nXRvvQ0T1xBN+kHr3jdmwMMp8CNl+GU=";
|
||||
})
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = "vimPlugins.blink-cmp.blink-fuzzy-lib";
|
||||
|
||||
Reference in New Issue
Block a user