tree-sitter-nix-shell: init at 0.1.0
This commit is contained in:
32
pkgs/additional/tree-sitter-nix-shell/default.nix
Normal file
32
pkgs/additional/tree-sitter-nix-shell/default.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitea
|
||||||
|
, htmlq
|
||||||
|
, tree-sitter
|
||||||
|
}:
|
||||||
|
|
||||||
|
tree-sitter.buildGrammar {
|
||||||
|
version = "0.1.0";
|
||||||
|
src = fetchFromGitea {
|
||||||
|
domain = "git.uninsane.org";
|
||||||
|
owner = "colin";
|
||||||
|
repo = "tree-sitter-nix-shell";
|
||||||
|
rev = "c2fcc8b6ee91af2cb58a38f62c0800f82d783738";
|
||||||
|
hash = "sha256-NU7p4KieSkYRhTSgL5qwFJ9n7hGJwTn0rynicfOf9oA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
language = "nix-shell";
|
||||||
|
location = "tree-sitter-nix-shell";
|
||||||
|
generate = true;
|
||||||
|
|
||||||
|
nativeCheckInputs = [ htmlq ];
|
||||||
|
checkPhase = ''
|
||||||
|
(cd ..; make test)
|
||||||
|
'';
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "parse `#!/usr/bin/env nix-shell` scripts with tree-sitter";
|
||||||
|
homepage = "https://git.uninsane.org/colin/tree-sitter-nix-shell";
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
}
|
@@ -46,6 +46,7 @@ let
|
|||||||
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
sublime-music-mobile = callPackage ./additional/sublime-music-mobile { };
|
||||||
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
||||||
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
||||||
|
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };
|
||||||
unftp = callPackage ./additional/unftp { };
|
unftp = callPackage ./additional/unftp { };
|
||||||
xdg-terminal-exec = callPackage ./additional/xdg-terminal-exec { };
|
xdg-terminal-exec = callPackage ./additional/xdg-terminal-exec { };
|
||||||
zecwallet-light-cli = callPackage ./additional/zecwallet-light-cli { };
|
zecwallet-light-cli = callPackage ./additional/zecwallet-light-cli { };
|
||||||
|
Reference in New Issue
Block a user