at 23.11-beta 25 lines 690 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "highlight-assertions"; 5 version = "0.1.7"; 6 7 src = fetchFromGitHub { 8 owner = "thehamsta"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-7r8tBJ6JFGUGUsTivzlO23hHiXISajjn2WF12mmbmMg="; 12 }; 13 14 cargoSha256 = "sha256-E2TNwCry7JOWy50+iLM9d+Tx4lIO6hkBtaHVLV8bDuo="; 15 16 # requires nightly features 17 RUSTC_BOOTSTRAP = 1; 18 19 meta = with lib; { 20 description = "A tool for unit testing tree sitter highlights for nvim-treesitter"; 21 homepage = "https://github.com/thehamsta/highlight-assertions"; 22 license = licenses.asl20; 23 maintainers = with maintainers; [ figsoda ]; 24 }; 25}