From d65db3a7192cc679eef4f45a359dd529f428451d Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Sat, 9 Dec 2023 23:08:13 +0400 Subject: Add emacs-yaml-pro package --- rodion/packages/emacs.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'rodion') diff --git a/rodion/packages/emacs.scm b/rodion/packages/emacs.scm index e207eb2..5f89ce3 100644 --- a/rodion/packages/emacs.scm +++ b/rodion/packages/emacs.scm @@ -2,7 +2,9 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) - #:use-module (guix build-system emacs)) + #:use-module (guix build-system emacs) + #:use-module (gnu packages emacs-xyz) + #:use-module (guix gexp)) (define-public emacs-mood-one-theme (package @@ -26,3 +28,30 @@ (description "mood-one-theme is a dark color scheme that aims to replicate some of the features of the Doom One theme.") (license license:unlicense))) + +(define-public emacs-yaml-pro + (package + (name "emacs-yaml-pro") + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zkry/yaml-pro") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ml7rp89alx6g1c5n325gzygwlgywxa40qf8xc0ag4nwzyp6z109")))) + (build-system emacs-build-system) + (inputs (list emacs-yaml) + ) + (arguments + (list + #:tests? #false)) + (home-page "https://github.com/zkry/yaml-pro") + (synopsis "Tools for editing YAML leveraging tree-sitter/parser") + (description + "yaml-pro is a package that provides conveniences for editing yaml. + +This package has been written to leverage tree-sitter parsing facilities, allowing all of these actions to be performed fast and accurate, even in the absence of parsing errors. The tree-sitter version is orders of magnitudes faster and I highly recommend its usage if your Emacs version permits.") + (license license:gpl3))) -- cgit v1.2.3