unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Evgeny Pisemsky <evgeny@pisemsky.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 63998@debbugs.gnu.org
Subject: [bug#63998] [PATCH] gnu: Add emacs-qrencode.
Date: Sun, 11 Jun 2023 15:15:46 +0300	[thread overview]
Message-ID: <87jzwaurd9.fsf@pisemsky.com> (raw)
In-Reply-To: <87h6rfcg9c.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 10 Jun 2023 20:40:47 +0200")

[-- 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


  reply	other threads:[~2023-06-11 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-06-11 16:20     ` bug#63998: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzwaurd9.fsf@pisemsky.com \
    --to=evgeny@pisemsky.com \
    --cc=63998@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).