unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58616] [PATCH] gnu: Add emacs-org-cliplink.
@ 2022-10-18 23:57 jgart via Guix-patches via
  2022-10-21  8:02 ` bug#58616: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2022-10-18 23:57 UTC (permalink / raw)
  To: 58616; +Cc: jgart

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0f02f48c01..c41e7ce127 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33477,6 +33477,41 @@ (define-public emacs-vundo
 the buffer you want to undo.  An undo tree buffer should pop up.")
     (license license:gpl3+)))
 
+(define-public emacs-org-cliplink
+  (let ((commit "13e0940b65d22bec34e2de4bc8cba1412a7abfbc")
+        (revision "0"))
+    (package
+      (name "emacs-org-cliplink")
+      (version (git-version "20201126" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/rexim/org-cliplink")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1avyiw8vlv4n1r7zqvc6wjlsz7jl2pqaprzpm782gzp0c999pssl"))))
+      (build-system emacs-build-system)
+      (arguments
+        (list
+         #:phases
+         #~(modify-phases %standard-phases
+             (add-after 'unpack 'patch-geiser-racket-binary
+               (lambda* (#:key inputs #:allow-other-keys)
+                 (substitute* "org-cliplink-transport.el"
+                   (("curl\")")
+                    (string-append (search-input-file inputs "bin/curl") "\")"))))))))
+      (inputs (list curl))
+      (home-page "https://github.com/rexim/org-cliplink/")
+      (synopsis "Insert org-mode links from the clipboard")
+      (description
+"@code{emacs-org-cliplink} provides a simple command that takes a URL
+from the clipboard and inserts an org-mode link with a title of a page
+found by the URL into the current buffer.")
+      (license license:expat))))
+
 (define-public emacs-project-x
   ;; There is no proper release.
   ;; The base version is extracted from the README.org.
-- 
2.38.0





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

end of thread, other threads:[~2022-10-21 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 23:57 [bug#58616] [PATCH] gnu: Add emacs-org-cliplink jgart via Guix-patches via
2022-10-21  8:02 ` bug#58616: " Nicolas Goaziou
2022-10-21 16:33   ` [bug#58616] " jgart via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).