biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / language-servers / rune-languageserver / default.nix
blob32bec82979e9c3f1590e46d7ff83b9d6fafb2382
1 { lib
2 , rustPlatform
3 , fetchCrate
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "rune-languageserver";
10   version = "0.12.4";
12   src = fetchCrate {
13     inherit pname version;
14     hash = "sha256-KVNof5s3hiCabsoypwS22FMyJIPF9aU8HNqVKPNo7Fk=";
15   };
17   cargoHash = "sha256-HiydWqOHz4LJJwJTclRlQfOphE1W03HTMjCtqr1XnJs=";
19   buildInputs = lib.optionals stdenv.isDarwin [
20     darwin.apple_sdk.frameworks.Security
21   ];
23   env = {
24     RUNE_VERSION = version;
25   };
27   meta = with lib; {
28     description = "A language server for the Rune Language, an embeddable dynamic programming language for Rust";
29     homepage = "https://crates.io/crates/rune-languageserver";
30     changelog = "https://github.com/rune-rs/rune/releases/tag/${version}";
31     license = with licenses; [ asl20 mit ];
32     maintainers = with maintainers; [ figsoda ];
33     mainProgram = "rune-languageserver";
34   };