all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63998] [PATCH] gnu: Add emacs-qrencode.
@ 2023-06-10 11:00 Evgeny Pisemsky
  2023-06-10 18:40 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeny Pisemsky @ 2023-06-10 11:00 UTC (permalink / raw)
  To: 63998

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-emacs-qrencode.patch --]
[-- Type: text/x-patch, Size: 1655 bytes --]

From adcb23e0cd5a6ef30f55b724f2b192f4944c8fa4 Mon Sep 17 00:00:00 2001
From: Evgeny Pisemsky <evgeny@pisemsky.com>
Date: Sat, 10 Jun 2023 13:55:40 +0300
Subject: [PATCH] gnu: Add emacs-qrencode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b77bd0aa83..2f46ed8305 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34268,6 +34268,27 @@ (define-public emacs-password-generator
 supports generation of phonetic and numeric passwords.")
     (license license:artistic2.0)))
 
+(define-public emacs-qrencode
+  (package
+    (name "emacs-qrencode")
+    (version "1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ruediger/qrencode-el")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0yrshahci319lnjdpsksdy11a69k1n91qk9r2zfyhqmng09s6i0y"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ruediger/qrencode-el")
+    (synopsis "QRCode encoder for Emacs in pure elisp")
+    (description
+     "This package provides two user facing interactive functions, that will encode
+text into a QR Code and show it in a separate buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-csv
   (package
     (name "emacs-csv")

base-commit: 9504dd2c3eef0277369acc0944f87fb4546251b1
-- 
2.40.1





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

* [bug#63998] [PATCH] gnu: Add emacs-qrencode.
  2023-06-10 11:00 [bug#63998] [PATCH] gnu: Add emacs-qrencode Evgeny Pisemsky
@ 2023-06-10 18:40 ` Nicolas Goaziou
  2023-06-11 12:15   ` Evgeny Pisemsky
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2023-06-10 18:40 UTC (permalink / raw)
  To: Evgeny Pisemsky; +Cc: 63998

Hello,

Evgeny Pisemsky <evgeny@pisemsky.com> writes:

> From adcb23e0cd5a6ef30f55b724f2b192f4944c8fa4 Mon Sep 17 00:00:00 2001
> From: Evgeny Pisemsky <evgeny@pisemsky.com>
> Date: Sat, 10 Jun 2023 13:55:40 +0300
> Subject: [PATCH] gnu: Add emacs-qrencode.
>
> * gnu/packages/emacs-xyz.scm (emacs-qrencode): New variable.

Thank you.

It looks good. I see upstream provides tests. Could you try running them too?

Regards,
-- 
Nicolas Goaziou




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

* [bug#63998] [PATCH] gnu: Add emacs-qrencode.
  2023-06-10 18:40 ` Nicolas Goaziou
@ 2023-06-11 12:15   ` Evgeny Pisemsky
  2023-06-11 16:20     ` bug#63998: " Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeny Pisemsky @ 2023-06-11 12:15 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 63998

[-- Attachment #1: Type: text/plain, Size: 35 bytes --]

Hello, here is the updated patch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-qrencode.patch --]
[-- Type: text/x-patch, Size: 1944 bytes --]

From f050b71e63d423de459d74144daac3053b65957c Mon Sep 17 00:00:00 2001
From: Evgeny Pisemsky <evgeny@pisemsky.com>
Date: Sun, 11 Jun 2023 15:10:00 +0300
Subject: [PATCH] gnu: Add emacs-qrencode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 13cabd7e46..24a4ae169e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34328,6 +34328,33 @@ (define-public emacs-password-generator
 supports generation of phonetic and numeric passwords.")
     (license license:artistic2.0)))
 
+(define-public emacs-qrencode
+  (package
+    (name "emacs-qrencode")
+    (version "1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ruediger/qrencode-el")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0yrshahci319lnjdpsksdy11a69k1n91qk9r2zfyhqmng09s6i0y"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #t
+           #:test-command #~(list "emacs" "-Q" "--batch"
+                                  "-l" "qrencode.el"
+                                  "-l" "qrencode-tests.el"
+                                  "-f" "ert-run-tests-batch-and-exit")))
+    (home-page "https://github.com/ruediger/qrencode-el")
+    (synopsis "QRCode encoder for Emacs in pure elisp")
+    (description
+     "This package provides two user facing interactive functions, that will encode
+text into a QR Code and show it in a separate buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-csv
   (package
     (name "emacs-csv")

base-commit: 73fa2889895f35bcf0c41f1174413381fdd7ec2c
-- 
2.40.1


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

* bug#63998: [PATCH] gnu: Add emacs-qrencode.
  2023-06-11 12:15   ` Evgeny Pisemsky
@ 2023-06-11 16:20     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2023-06-11 16:20 UTC (permalink / raw)
  To: Evgeny Pisemsky; +Cc: 63998-done

Hello,

Evgeny Pisemsky <evgeny@pisemsky.com> writes:

> Hello, here is the updated patch.
>
> From f050b71e63d423de459d74144daac3053b65957c Mon Sep 17 00:00:00 2001
> From: Evgeny Pisemsky <evgeny@pisemsky.com>
> Date: Sun, 11 Jun 2023 15:10:00 +0300
> Subject: [PATCH] gnu: Add emacs-qrencode.
>
> * gnu/packages/emacs-xyz.scm (emacs-qrencode): New variable.

Perfect! Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2023-06-11 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-10 11:00 [bug#63998] [PATCH] gnu: Add emacs-qrencode Evgeny Pisemsky
2023-06-10 18:40 ` Nicolas Goaziou
2023-06-11 12:15   ` Evgeny Pisemsky
2023-06-11 16:20     ` bug#63998: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.