slint-lsp: 1.5.1 -> 1.8.0 (#351029)

This commit is contained in:
Sefa Eyeoglu
2024-10-26 19:11:25 +02:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

@@ -25,14 +25,14 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "slint-lsp"; pname = "slint-lsp";
version = "1.5.1"; version = "1.8.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-wqAcHBHWtYavAakHLhHHCI+Yercgdtzo1EAOilsZOK0="; hash = "sha256-Shgcjr0mlUNAobMAarZ7dFnXgPGzBHXs2KnUDT/8I2A=";
}; };
cargoHash = "sha256-XjVXhXoGEhxWc+LZa0EsPiw3Gq2pg03YjKONTptSQvA="; cargoHash = "sha256-wyzrFg3hwsJ7SV8KGLKo+gNHzLFpnMx9/jgMalGkufY=";
nativeBuildInputs = [ cmake pkg-config fontconfig ]; nativeBuildInputs = [ cmake pkg-config fontconfig ];
buildInputs = rpathLibs ++ [ xorg.libxcb.dev ] buildInputs = rpathLibs ++ [ xorg.libxcb.dev ]
@@ -46,6 +46,9 @@ rustPlatform.buildRustPackage rec {
OpenGL OpenGL
]; ];
# Tests requires `i_slint_backend_testing` which is only a dev dependency
doCheck = false;
postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
patchelf --set-rpath ${lib.makeLibraryPath rpathLibs} $out/bin/slint-lsp patchelf --set-rpath ${lib.makeLibraryPath rpathLibs} $out/bin/slint-lsp
''; '';

View File

@@ -18365,7 +18365,7 @@ with pkgs;
slimerjs = callPackage ../development/tools/slimerjs { }; slimerjs = callPackage ../development/tools/slimerjs { };
slint-lsp = callPackage ../development/tools/misc/slint-lsp { slint-lsp = callPackage ../by-name/sl/slint-lsp/package.nix {
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL; inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
}; };