diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-02-16 21:36:52 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-02-26 08:51:55 +0100 |
commit | 420cf2bf2a1b4b592d32b4f666c2facae4cabde0 (patch) | |
tree | fbbb06acde2db8cf54fae4700728ad07ef93b342 /gnu | |
parent | cb0d8100b288b5b0d130820207db17764b7d2140 (diff) | |
download | guix-420cf2bf2a1b4b592d32b4f666c2facae4cabde0.tar guix-420cf2bf2a1b4b592d32b4f666c2facae4cabde0.tar.gz |
gnu: Add emacs-next-tree-sitter.
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
(emacs-next): Remove tree sitter support.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 953aad961c..e230fdc84d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -414,6 +414,35 @@ languages.") "1akq6dbllwwqwx21wnwnv6aax1nsi2ypbd7j3i79sw62s3gf399z")))) (inputs (modify-inputs (package-inputs emacs) + (prepend sqlite))) + (native-inputs + (modify-inputs (package-native-inputs emacs) + (prepend autoconf)))))) + +(define-public emacs-next-tree-sitter + (let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778") + (revision "0")) + (package + (inherit emacs) + (name "emacs-next-tree-sitter") + (version (git-version "30.0.50" revision commit)) + (source + (origin + (inherit (package-source emacs)) + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/emacs.git/") + (commit commit))) + (file-name (git-file-name name version)) + ;; emacs-source-date-epoch.patch is no longer necessary + (patches (search-patches "emacs-exec-path.patch" + "emacs-fix-scheme-indent-function.patch" + "emacs-native-comp-driver-options.patch")) + (sha256 + (base32 + "1akq6dbllwwqwx21wnwnv6aax1nsi2ypbd7j3i79sw62s3gf399z")))) + (inputs + (modify-inputs (package-inputs emacs) (prepend sqlite tree-sitter))) (native-inputs (modify-inputs (package-native-inputs emacs) |