mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
36 lines
908 B
Nix
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 ];
|
|
};
|
|
}
|