all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57426] [PATCH] gnu: Add emacs-consult-org-roam.
@ 2022-08-26 13:23 Nicolas Graves via Guix-patches via
  2022-08-27  8:18 ` bug#57426: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-08-26 13:23 UTC (permalink / raw)
  To: 57426

* gnu/packages/emacs-xyz.scm (emacs-consult-org-roam): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6fb7572cc..6a9244dde3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9232,6 +9232,33 @@ (define-public emacs-consult-notmuch
 and present results either as single emails or full trees.")
     (license license:gpl3+)))
 
+(define-public emacs-consult-org-roam
+  (let* ((commit "9b51aed939054c54934a6969290ad78587051cde")
+         (revision "0"))
+    (package
+      (name "emacs-consult-org-roam")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jgru/consult-org-roam.git")
+               (commit commit)))
+         (sha256
+          (base32
+           "160rix04azd1wc7fls29bhssjwzwmmnnqcfbkvapsyryvn80q219"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-org-roam emacs-consult))
+      (home-page "https://github.com/jgru/consult-org-roam")
+      (synopsis "Consult integration for org-roam")
+      (description
+       "This is a set of functions to use org-roam with consult.  This
+packages replaces org-roam's own completing read functions with equivalent
+versions utilizing consult's internal API.  By doing so, one gains all
+advantages of consult which enhances Emacs' own completing-read
+funcionality.")
+      (license license:gpl3))))
+
 (define-public emacs-consult-eglot
   (package
    (name "emacs-consult-eglot")
-- 
2.37.2


<#secure method=pgpmime mode=sign>

-- 
Best regards,
Nicolas Graves




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#57426: [PATCH] gnu: Add emacs-consult-org-roam.
  2022-08-26 13:23 [bug#57426] [PATCH] gnu: Add emacs-consult-org-roam Nicolas Graves via Guix-patches via
@ 2022-08-27  8:18 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-08-27  8:18 UTC (permalink / raw)
  To: Nicolas Graves via Guix-patches via; +Cc: Nicolas Graves, 57426-done

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-consult-org-roam): New variable.

Applied with the changes below. Thank you.

> +(define-public emacs-consult-org-roam
> +  (let* ((commit "9b51aed939054c54934a6969290ad78587051cde")

I used latest commit instead.

> +         (revision "0"))
> +    (package
> +      (name "emacs-consult-org-roam")
> +      (version (git-version "0" revision commit))

Base version is "0.1" according to "Version:" keyword.

> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/jgru/consult-org-roam.git")

I removed the ".git" suffix from URL.

> +      (propagated-inputs (list emacs-org-roam emacs-consult))

I sorted inputs alphabetically.

> +      (description
> +       "This is a set of functions to use org-roam with consult.  This
> +packages replaces org-roam's own completing read functions with equivalent
> +versions utilizing consult's internal API.  By doing so, one gains all
> +advantages of consult which enhances Emacs' own completing-read
> +funcionality.")

I removed last sentence, which didn't seem useful in a description.
Also, I used capitalization for project's names (e.g., Consult).

> +      (license license:gpl3))))

License is actually GPL3+.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-27  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-26 13:23 [bug#57426] [PATCH] gnu: Add emacs-consult-org-roam Nicolas Graves via Guix-patches via
2022-08-27  8:18 ` bug#57426: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.