base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / hi / highlight-assertions / package.nix
blobb2f595cb01ba0dbd60c9cd1529573822e8ceda08
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "highlight-assertions";
5   version = "0.1.7";
7   src = fetchFromGitHub {
8     owner = "thehamsta";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-7r8tBJ6JFGUGUsTivzlO23hHiXISajjn2WF12mmbmMg=";
12   };
14   cargoHash = "sha256-E2TNwCry7JOWy50+iLM9d+Tx4lIO6hkBtaHVLV8bDuo=";
16   # requires nightly features
17   RUSTC_BOOTSTRAP = 1;
19   meta = with lib; {
20     description = "Tool for unit testing tree sitter highlights for nvim-treesitter";
21     mainProgram = "highlight-assertions";
22     homepage = "https://github.com/thehamsta/highlight-assertions";
23     license = licenses.asl20;
24     maintainers = with maintainers; [ figsoda ];
25   };