vhdl-ls: 0.65.0 -> 0.66.0

This commit is contained in:
Doron Behar 2023-09-10 10:56:16 +03:00
parent 7f2d93dda9
commit 78ec172f65
2 changed files with 4 additions and 1074 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,25 +5,18 @@
rustPlatform.buildRustPackage rec {
pname = "vhdl-ls";
version = "0.65.0";
version = "0.66.0";
src = fetchFromGitHub {
owner = "VHDL-LS";
repo = "rust_hdl";
rev = "v${version}";
hash = "sha256-B+jzTrV5Kk4VOgr+5l0F5+cXzfb0aErKaiH50vIdLq4=";
hash = "sha256-tVeGfPm5WdZjARp7n4WD3YQzMUWA3M3TJo2oVivtkiA=";
};
# No Cargo.lock upstream, see:
# https://github.com/VHDL-LS/rust_hdl/issues/166
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-bXz216QvTpBuUNAi5sF0Lga+1ubjlokqPglUyAVXThg=";
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
''
# Also make it look up vhdl_libraries in an expected location
+ ''
substituteInPlace vhdl_lang/src/config.rs \
--replace /usr/lib $out/lib
'';