Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
901 B
Nix
40 lines
901 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
stdenv,
|
|
}:
|
|
|
|
let
|
|
libExt = stdenv.hostPlatform.extensions.sharedLibrary;
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "lspce-module";
|
|
version = "1.1.0-unstable-2024-12-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zbelial";
|
|
repo = "lspce";
|
|
rev = "45f84ce102bb34e44c39e5f437107ba786973d6f";
|
|
hash = "sha256-DiqC7z1AQbXsSXc77AGRilWi3HfEg0YoHrXu54O3Clo=";
|
|
};
|
|
|
|
cargoHash = "sha256-ygFXKniCCOyXndPOTKoRbd4W1OR2CSA2jr7yxpwkw28=";
|
|
|
|
checkFlags = [
|
|
# flaky test
|
|
"--skip=msg::tests::serialize_request_with_null_params"
|
|
];
|
|
|
|
postInstall = ''
|
|
mv --verbose $out/lib/liblspce_module${libExt} $out/lib/lspce-module${libExt}
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/zbelial/lspce";
|
|
description = "LSP Client for Emacs implemented as a module using Rust";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|