Subject: [PATCH] Add package emacs-quickrun
From: Niklas Eklund <[email-masked]>
To: [email-masked]
Date: Mon, 21 Sep 2020 16:32:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From ec5a8a6d3ded11f48d12e66018790b2d03bbd624 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <[email-masked]>
Date: Mon, 21 Sep 2020 12:44:55 +0200
Subject: [PATCH] gnu: Add emacs-quickrun.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4634836b89..8aa4304312 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -78,6 +78,7 @@
 ;;; Copyright © 2020 Eric Bavier <[email-masked]>
 ;;; Copyright © 2020 Morgan Smith <[email-masked]>
 ;;; Copyright © 2020 Peng Mei Yu <[email-masked]>
+;;; Copyright © 2020 Niklas Eklund <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -24647,3 +24648,31 @@ publically-accessible HTTP server.")
 label references and citations in LaTeX.  It is based on RefTeX, which is
 included with Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-quickrun
+  (let ((commit "0133cac651918071a824e85b55e10d44f32a1979")
+        (revision "0"))
+    (package
+      (name "emacs-quickrun")
+      (version (git-version "2.3.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacsorphanage/quickrun")
+               (commit commit)))
+         (sha256
+          (base32
+           "0a1n2v09h0n7d9p2izflqqang4ny0b46dlqvmxvkkik4bb6f4wcz"))
+         (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (home-page
+       "https://github.com/emacsorphanage/quickrun")
+      (synopsis "Run commands quickly")
+      (description
+       "This package evaluates the content of a buffer, or region and displays
+the result.  It is similar to executable-interpret, but provides more
+convenient commands.  Quickrun execute not only script languages(Perl, Ruby,
+Python etc), but also compiling languages(C, C++, Go, Java etc) and markup
+languages.")
+      (license license:gpl3+))))
-- 
2.28.0