Subject: [PATCH] gnu: Add emacs-ghq.
From: Joseph LaFreniere <[email-masked]>
To: [email-masked]
Date: Sun, 21 Mar 2021 18:08:26 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch file is attached.

--
Joseph LaFreniere
From 89ccc272b27e1ff8da675fd8595221701af240fd Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <[email-masked]>
Date: Wed, 11 Nov 2020 00:39:58 -0600
Subject: [PATCH] gnu: Add emacs-ghq.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7085318e58..42723933f5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -139,6 +139,7 @@
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages ebook)
   #:use-module (gnu packages emacs)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
@@ -937,6 +938,28 @@ Files with the @file{.graphql} and @file{.gql} extensions are
 automatically opened with this mode.")
       (license license:gpl3+))))
 
+(define-public emacs-ghq
+  (package
+    (name "emacs-ghq")
+    (version "0.1.2")
+    (home-page "https://github.com/rcoedo/emacs-ghq")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0rh2k93c3a0vl073a3s3a3h6gkw454v1lyd7y8l3pd24vw9hc628"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("ghq" ,ghq)))
+    (synopsis "Emacs interface for @code{ghq}")
+    (description
+     "This package provides a set of functions wrapping @code{ghq}.")
+    (license license:gpl3+)))
+
 (define-public emacs-ghub
   (package
     (name "emacs-ghub")
-- 
2.31.0