tree-sitter slang package
This commit is contained in:
parent
8f9eeeb6e1
commit
10e149312d
|
@ -11,6 +11,7 @@ in {
|
||||||
# accessible from the global namespace.
|
# accessible from the global namespace.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
emacs
|
emacs
|
||||||
|
python3
|
||||||
enchant # spell checking
|
enchant # spell checking
|
||||||
ripgrep # for Emacs' ripgrep integration
|
ripgrep # for Emacs' ripgrep integration
|
||||||
libvterm-neovim # vterm support for Emacs
|
libvterm-neovim # vterm support for Emacs
|
||||||
|
@ -32,6 +33,7 @@ in {
|
||||||
tree-sitter-zig
|
tree-sitter-zig
|
||||||
tree-sitter-elisp
|
tree-sitter-elisp
|
||||||
tree-sitter-markdown
|
tree-sitter-markdown
|
||||||
|
pkgs.tree-sitter-slang
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
# xdg.configFile = {
|
# xdg.configFile = {
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "git@git.nirgendwo.xyz:janis/dotfiles.git";
|
url = "git@git.nirgendwo.xyz:janis/dotfiles.git";
|
||||||
rev = "1af2254ee4d278305d9a8b9d6eb28a4bfc79162c";
|
rev = "1af2254ee4d278305d9a8b9d6eb28a4bfc79162c";
|
||||||
|
ref = "main";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
|
@ -3,4 +3,5 @@ final: prev: {
|
||||||
nordvpn-rofi = prev.callPackage ./nordvpn-rofi.nix {};
|
nordvpn-rofi = prev.callPackage ./nordvpn-rofi.nix {};
|
||||||
screenshot = prev.callPackage ./screenshot.nix {};
|
screenshot = prev.callPackage ./screenshot.nix {};
|
||||||
dotfiles = prev.callPackage ./dotfiles.nix {};
|
dotfiles = prev.callPackage ./dotfiles.nix {};
|
||||||
|
tree-sitter-slang = prev.callPackage ./tree-sitter-slang.nix {};
|
||||||
}
|
}
|
||||||
|
|
10
pkgs/tree-sitter-slang.nix
Normal file
10
pkgs/tree-sitter-slang.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{pkgs, fetchFromGitHub, tree-sitter, ...}: tree-sitter.buildGrammar {
|
||||||
|
language = "slang";
|
||||||
|
version = "0.1.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tree-sitter-grammars";
|
||||||
|
repo = "tree-sitter-slang";
|
||||||
|
rev = "5b0adf65710c3a7c265f0451ed6b4789410cbe63";
|
||||||
|
hash = "sha256-uFU8hdz6APzrc9JUib47cmBd5kSnbSh0CbSqSbEfkoc=";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue