* [bug#40591] Add emacs-org-roam
@ 2020-04-13 3:58 Alberto EFG
2020-04-14 9:08 ` bug#40591: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Alberto EFG @ 2020-04-13 3:58 UTC (permalink / raw)
To: 40591
[-- Attachment #1: Type: text/plain, Size: 106 bytes --]
Hello.
Added emacs-org-roam. I used it all day, seems like everything works.
guix size is around 0.2 MB
[-- Attachment #2: 0001-gnu-Add-emacs-org-roam.patch --]
[-- Type: text/x-patch, Size: 2333 bytes --]
From a112e0b9f57125ecc1ae0418734521722d87e27e Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
Date: Sun, 12 Apr 2020 14:01:24 -0500
Subject: [PATCH] gnu: Add emacs-org-roam.
* gnu/packages/emacs-xyz.scm (emacs-org-roam): New variable.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f55d1a5bf4..0f1c48be2e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -67,6 +67,7 @@
;;; Copyright © 2020 6033fe7de85d <6033fe7de85d@airmail.cc>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr>
+;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22300,3 +22301,34 @@ conventions.")
(description "Haskell-Snippets is a collection of YASnippet Haskell
snippets for Emacs.")
(license license:expat))))
+
+(define-public emacs-org-roam
+ (package
+ (name "emacs-org-roam")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jethrokuan/org-roam.git")
+ (commit "1433dbc31602c412914c71ecc81aa5dcf6b03daf")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08pfa63k194dpk0y2gfa0nzn5lig81q0l9axkq5j4ibj6ifaap4a"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-company" ,emacs-company)
+ ("emacs-emacsql-sqlite" ,emacs-emacsql)
+ ("emacs-dash" ,emacs-dash)
+ ("emacs-f" ,emacs-f)
+ ("emacs-s" ,emacs-s)
+ ("emacs-org-ref" ,emacs-org-ref)))
+ (home-page "https://github.com/jethrokuan/org-roam")
+ (synopsis "Org-mode non-hierarchical notes")
+ (description "@code{emacs-org-roam} is a solution for taking
+non-hierarchical notes with @code{org-mode}. Notes are captured
+without hierarchy and are connected by tags. Notes can be found
+and created quickly. Org-roam should also work as a plug-and-play
+ solution for anyone already using Org-mode for their personal wiki.")
+ (license license:gpl3)))
--
2.26.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#40591: Add emacs-org-roam
2020-04-13 3:58 [bug#40591] Add emacs-org-roam Alberto EFG
@ 2020-04-14 9:08 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-04-14 9:08 UTC (permalink / raw)
To: Alberto EFG; +Cc: 40591-done
Hello,
Alberto EFG <albertoefg@posteo.mx> writes:
> Added emacs-org-roam. I used it all day, seems like everything works.
Thank you.
I applied your patch with the following changes.
> +(define-public emacs-org-roam
> + (package
> + (name "emacs-org-roam")
The indentation is off. If you use Emacs, you can press M-q, otherwise,
you may call the etc/indent.el script in Guix source tree.
> + (version "1.0.0")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/jethrokuan/org-roam.git")
> + (commit "1433dbc31602c412914c71ecc81aa5dcf6b03daf")))
When there is an official release, we use the tag. Therefore, I changed
the line above to:
(commit (string-append "v" version))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "08pfa63k194dpk0y2gfa0nzn5lig81q0l9axkq5j4ibj6ifaap4a"))))
Nitpick: I put the string on the line above.
> + (build-system emacs-build-system)
> + (propagated-inputs
> + `(("emacs-company" ,emacs-company)
> + ("emacs-emacsql-sqlite" ,emacs-emacsql)
> + ("emacs-dash" ,emacs-dash)
> + ("emacs-f" ,emacs-f)
> + ("emacs-s" ,emacs-s)
> + ("emacs-org-ref" ,emacs-org-ref)))
I re-ordered the inputs alphabetically.
> + (license license:gpl3)))
The license is actually gpl3+, as written in the source code.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-14 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 3:58 [bug#40591] Add emacs-org-roam Alberto EFG
2020-04-14 9:08 ` bug#40591: " 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.