nixpkgs/pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix
2024-08-22 00:34:41 -03:00

36 lines
908 B
Nix

{
lib,
rustPlatform,
fetchFromSourcehut,
nix-update-script,
testers,
kak-tree-sitter-unwrapped,
}:
rustPlatform.buildRustPackage rec {
pname = "kak-tree-sitter-unwrapped";
version = "1.1.2";
src = fetchFromSourcehut {
owner = "~hadronized";
repo = "kak-tree-sitter";
rev = "kak-tree-sitter-v${version}";
hash = "sha256-wBWfSyR8LGtug/mCD0bJ4lbdN3trIA/03AnCxZoEOSA=";
};
cargoHash = "sha256-v0DNcWPoHdquOlyPoPLoFulz66yCPR1W1Z3uuTjli5k=";
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = kak-tree-sitter-unwrapped; };
};
meta = {
homepage = "https://git.sr.ht/~hadronized/kak-tree-sitter";
description = "Server that interfaces tree-sitter with kakoune";
mainProgram = "kak-tree-sitter";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ lelgenio ];
};
}