tree-sitter-grammars: allow fetching from Codeberg
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
fetchFromGitLab,
|
||||
fetchFromSourcehut,
|
||||
fetchFromCodeberg,
|
||||
nix-update-script,
|
||||
which,
|
||||
rustPlatform,
|
||||
@@ -56,6 +57,7 @@ let
|
||||
fetchFromGitHub
|
||||
fetchFromGitLab
|
||||
fetchFromSourcehut
|
||||
fetchFromCodeberg
|
||||
;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
fetchFromGitLab,
|
||||
fetchFromSourcehut,
|
||||
fetchFromCodeberg,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -74,6 +75,7 @@ lib.mapAttrs' (
|
||||
github = fetchFromGitHub;
|
||||
gitlab = fetchFromGitLab;
|
||||
sourcehut = fetchFromSourcehut;
|
||||
codeberg = fetchFromCodeberg;
|
||||
# NOTE: include other types here as required
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user