* [bug#43551] [PATCH] Add package emacs-quickrun
@ 2020-09-21 14:32 Niklas Eklund
2020-09-22 9:07 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Niklas Eklund @ 2020-09-21 14:32 UTC (permalink / raw)
To: 43551
[-- Attachment #1: Content --]
[-- Type: text/x-patch, Size: 2197 bytes --]
From ec5a8a6d3ded11f48d12e66018790b2d03bbd624 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
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 <bavier@posteo.net>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
+;;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#43551] [PATCH] Add package emacs-quickrun
2020-09-21 14:32 [bug#43551] [PATCH] Add package emacs-quickrun Niklas Eklund
@ 2020-09-22 9:07 ` Nicolas Goaziou
2020-09-22 9:33 ` Niklas Eklund
2020-09-22 12:37 ` Niklas Eklund
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2020-09-22 9:07 UTC (permalink / raw)
To: Niklas Eklund; +Cc: 43551
Hello,
Niklas Eklund <niklas.eklund@posteo.net> writes:
> Subject: [PATCH] gnu: Add emacs-quickrun.
Thank you.
> +(define-public emacs-quickrun
> + (let ((commit "0133cac651918071a824e85b55e10d44f32a1979")
> + (revision "0"))
I don't think there is any reason to use a commit directly, since this
one matches a release.
> + (package
> + (name "emacs-quickrun")
> + (version (git-version "2.3.1" revision commit))
(version "2.3.1")
is enough per above.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/emacsorphanage/quickrun")
> + (commit commit)))
(commit version)
> + (sha256
> + (base32
> + "0a1n2v09h0n7d9p2izflqqang4ny0b46dlqvmxvkkik4bb6f4wcz"))
Please move the hash string on the same line as base32.
> + (file-name (git-file-name name version))))
> + (build-system emacs-build-system)
> + (home-page
> + "https://github.com/emacsorphanage/quickrun")
Please move the URL on the same line as home-page
> + (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,
Quickrun executes ... languages (Perl
> +Python etc), but also compiling languages(C, C++, Go, Java etc) and
> markup
Mind the missing space here, too.
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#43551] [PATCH] Add package emacs-quickrun
2020-09-22 9:07 ` Nicolas Goaziou
@ 2020-09-22 9:33 ` Niklas Eklund
2020-09-22 12:37 ` Niklas Eklund
1 sibling, 0 replies; 5+ messages in thread
From: Niklas Eklund @ 2020-09-22 9:33 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 43551
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Could you send an updated patch?
> Regards,
> --
> Nicolas Goaziou
Hi Nicolas,
Thanks for your review. I will address your comments and create an
updated patch. It's my first time contributing to guix, so I hope I am
sending this message correctly :)
// Niklas
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#43551] [PATCH] Add package emacs-quickrun
2020-09-22 9:07 ` Nicolas Goaziou
2020-09-22 9:33 ` Niklas Eklund
@ 2020-09-22 12:37 ` Niklas Eklund
2020-09-23 19:39 ` bug#43551: " Nicolas Goaziou
1 sibling, 1 reply; 5+ messages in thread
From: Niklas Eklund @ 2020-09-22 12:37 UTC (permalink / raw)
To: 43551
[-- Attachment #1: Content --]
[-- Type: text/x-patch, Size: 2019 bytes --]
From 4d1c89943b0157701f66f304da24ad461db38007 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
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 | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4634836b89..2c884ef3a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -78,6 +78,7 @@
;;; Copyright © 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
+;;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24647,3 +24648,27 @@ 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
+ (package
+ (name "emacs-quickrun")
+ (version "2.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacsorphanage/quickrun")
+ (commit version)))
+ (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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#43551: [PATCH] Add package emacs-quickrun
2020-09-22 12:37 ` Niklas Eklund
@ 2020-09-23 19:39 ` Nicolas Goaziou
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2020-09-23 19:39 UTC (permalink / raw)
To: Niklas Eklund; +Cc: 43551-done
Hello,
Niklas Eklund <niklas.eklund@posteo.net> writes:
> Subject: [PATCH] gnu: Add emacs-quickrun.
>
> * gnu/packages/emacs-xyz.scm (emacs-quickrun): New variable.
I tweaked the synopsis and the description and applied your patch. Thank
you!
Note that adding a package definition at the end of the file is
generally not a good idea, because it is more likely to introduce
conflicts.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-09-23 19:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21 14:32 [bug#43551] [PATCH] Add package emacs-quickrun Niklas Eklund
2020-09-22 9:07 ` Nicolas Goaziou
2020-09-22 9:33 ` Niklas Eklund
2020-09-22 12:37 ` Niklas Eklund
2020-09-23 19:39 ` bug#43551: " Nicolas Goaziou
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).