Skip to content

Commit

Permalink
slint-lsp: 1.5.1 -> 1.8.0 (#351029)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrumplex authored Oct 26, 2024
2 parents f489e8a + 0fd68a3 commit e041d36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit e041d36

Please sign in to comment.