unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 72698@debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Subject: [bug#72698] [PATCH] gnu: Add guile-qr-code.
Date: Sun, 18 Aug 2024 16:59:17 +0300	[thread overview]
Message-ID: <3e61aca04c050690eea07ff2e1603aa13cfae821.1723989557.git.poptsov.artyom@gmail.com> (raw)

* gnu/packages/guile-xyz.scm (guile-qr-code): New variable.

Change-Id: I8891a1ee442040a4f04183fca7bc1eca6a4fc951
---
 gnu/packages/guile-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 0759c399c3..d3cd094f82 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -5793,6 +5793,41 @@ (define-public guile-cbor
     (home-page "https://inqlab.net/git/guile-cbor.git")
     (license license:gpl3+)))
 
+(define-public guile-qr-code
+  (package
+    (name "guile-qr-code")
+    (version "0.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/artyom-poptsov/guile-qr-code")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1pbsnkz8pw1x8n9mjq8rm37wmalzbcz98gk8mcfycyd896qdmf4w"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'strip))))
+    (native-inputs (list autoconf
+                         automake
+                         pkg-config
+                         texinfo
+                         ;; needed when cross-compiling.
+                         guile-3.0
+                         guile-lib
+                         guile-png))
+    (inputs (list bash-minimal guile-3.0 guile-lib guile-png))
+    (synopsis "Guile QR Code library")
+    (description
+     "GNU Guile QR code generator that can create QR codes from text and binary data.
+The resulting QR codes can be rendered to ASCII art strings or to PNG images (using
+@url{https://github.com/artyom-poptsov/guile-png, Guile-PNG} API.)")
+    (home-page "https://github.com/artyom-poptsov/guile-qr-code")
+    (license (list license:gpl3+ license:expat))))
+
 (define-public guile-quickcheck
   (package
     (name "guile-quickcheck")

base-commit: 71f0676a295841e2cc662eec0d3e9b7e69726035
-- 
2.45.2





             reply	other threads:[~2024-08-18 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-18 13:59 Artyom V. Poptsov [this message]
2024-08-21 16:55 ` bug#72698: [PATCH] gnu: Add guile-qr-code Ludovic Courtès

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=3e61aca04c050690eea07ff2e1603aa13cfae821.1723989557.git.poptsov.artyom@gmail.com \
    --to=poptsov.artyom@gmail.com \
    --cc=72698@debbugs.gnu.org \
    /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).