blob: 20104d1825820dae011f6c3f869e81cf803e8726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
protobuf,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "protols";
version = "0.14.1";
src = fetchFromGitHub {
owner = "coder3101";
repo = "protols";
tag = finalAttrs.version;
hash = "sha256-DdSuEWIo0AbCCV3LPTBC2Ql1NSg2vgnCBNzOgFL8/B0=";
};
cargoHash = "sha256-R7OgjUEx2Q0rWTIO1CIXS3ogeC9G/RoxvGQBL1Xh/8k=";
env.FALLBACK_INCLUDE_PATH = "${protobuf}/include";
meta = {
description = "Protocol Buffers language server written in Rust";
homepage = "https://github.com/coder3101/protols";
changelog = "https://github.com/coder3101/protols/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nartsiss ];
mainProgram = "protols";
};
})
|