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
commit e041d36e61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -25,14 +25,14 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "slint-lsp";
version = "1.5.1";
version = "1.8.0";
src = fetchCrate {
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 ];
buildInputs = rpathLibs ++ [ xorg.libxcb.dev ]
@ -46,6 +46,9 @@ rustPlatform.buildRustPackage rec {
OpenGL
];
# Tests requires `i_slint_backend_testing` which is only a dev dependency
doCheck = false;
postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
patchelf --set-rpath ${lib.makeLibraryPath rpathLibs} $out/bin/slint-lsp
'';

View File

@ -18365,7 +18365,7 @@ with pkgs;
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;
};