nixpkgs/pkgs/by-name/pr/protols/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
714 B
Nix
Raw Permalink Normal View History

2024-09-20 15:26:46 -06:00
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "protols";
2024-11-14 02:44:41 -07:00
version = "0.8.0";
2024-09-20 15:26:46 -06:00
src = fetchFromGitHub {
owner = "coder3101";
repo = "protols";
rev = "refs/tags/${version}";
2024-11-14 02:44:41 -07:00
hash = "sha256-Y2gmOlQO6yP/sP2z4NJGbJimlSC5Q7B9Lw8BinzOwHA=";
2024-09-20 15:26:46 -06:00
};
2024-11-14 02:44:41 -07:00
cargoHash = "sha256-xi1nJ0/rIDYUGJkxtjAysR77+FtmpD97OuuFX0oLuc0=";
2024-09-20 15:26:46 -06:00
meta = {
description = "Protocol Buffers language server written in Rust";
homepage = "https://github.com/coder3101/protols";
changelog = "https://github.com/coder3101/protols/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nartsiss ];
mainProgram = "protols";
};
}