[bug#34129] gnu: Add emacs-magit-gerrit.

Message ID 87pnstnwif.fsf@gmail.com
State Accepted
Headers show
Series [bug#34129] gnu: Add emacs-magit-gerrit. | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

Maxim Cournoyer Jan. 19, 2019, 3:42 a.m. UTC

Comments

Ludovic Courtès Jan. 22, 2019, 9:48 p.m. UTC | #1
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

>>From 5b7c68203c3311e1e282414353d0bbf442744c20 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> Date: Fri, 18 Jan 2019 22:23:59 -0500
> Subject: [PATCH] gnu: Add emacs-magit-gerrit.
>
> * gnu/packages/emacs-xyz.scm (emacs-magit-gerrit): New variable.

LGTM, thanks!

Ludo'.
Maxim Cournoyer Jan. 23, 2019, 1:02 p.m. UTC | #2
Ludovic Courtès <ludo@gnu.org> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>>>From 5b7c68203c3311e1e282414353d0bbf442744c20 Mon Sep 17 00:00:00 2001
>> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>> Date: Fri, 18 Jan 2019 22:23:59 -0500
>> Subject: [PATCH] gnu: Add emacs-magit-gerrit.
>>
>> * gnu/packages/emacs-xyz.scm (emacs-magit-gerrit): New variable.
>
> LGTM, thanks!
>
> Ludo'.

Pushed with commit f0caf7607.

Thanks!

Maxim

Patch

From 5b7c68203c3311e1e282414353d0bbf442744c20 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Fri, 18 Jan 2019 22:23:59 -0500
Subject: [PATCH] gnu: Add emacs-magit-gerrit.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6f81d05f..6c7a7facf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10131,6 +10131,32 @@  time is being spent during Emacs startup in order to optimize startup time.")
   ;; A new mpv backend is included in Emms from 5.0.
   (deprecated-package "emacs-emms-player-simple-mpv" emacs-emms))
 
+(define-public emacs-magit-gerrit
+  (let ((version "0.3")
+        (revision "1")
+        (commit "ece6f369694aca17f3ac166ed2801b432acfe20d"))
+    (package
+      (name "emacs-magit-gerrit")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/terranpro/magit-gerrit.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0mms0gxv9a3ns8lk5k2wjibm3088y1cmpr3axjdh6ppv7r5wdvii"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-magit" ,emacs-magit)))
+      (home-page "https://github.com/terranpro/magit-gerrit")
+      (synopsis "Magit extension for Gerrit")
+      (description "This Magit extension provides integration with Gerrit,
+which makes it possible to conduct Gerrit code reviews directly from within
+Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-magit-org-todos-el
   (let ((commit "df206287737b9671f2e36ae7b1474ebbe9940d2a"))
     (package
-- 
2.20.1