nix-home/packages/common/kak-tree-sitter.nix

21 lines
621 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub, symlinkJoin, clang, git, ... }:
let
src = fetchFromGitHub {
owner = "phaazon";
repo = "kak-tree-sitter";
2023-09-29 15:48:01 +00:00
rev = "3567f648bbf6a5d556c43bde5433dff45eabd693";
hash = "sha256-xr7CtOfMO4nRu2MOIQX3jR0wsKGsjYiF/TGXSAsidM4=";
};
kak-tree-sitter = rustPlatform.buildRustPackage rec {
inherit src;
pname = "kak-tree-sitter";
2023-09-29 15:48:01 +00:00
version = "0.4.6";
cargoHash = "sha256-6HJxJTr4P1/6Yy3/dtfiaCFoHA4iKvmuwg51jTYU2eo=";
cargoBuildOptions = [ "--package" "kak-tree-sitter" "--package" "ktsctl" ];
2023-09-29 15:48:01 +00:00
nativeBuildInputs = [ clang git ];
};
in
2023-09-29 15:48:01 +00:00
kak-tree-sitter