guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74234] [PATCH rust-team v3 17/23] gnu: Add rust-qrcodegen-1.


From: Aaron Covrig
Subject: [bug#74234] [PATCH rust-team v3 17/23] gnu: Add rust-qrcodegen-1.
Date: Sun, 8 Dec 2024 20:11:41 -0500

From: Giacomo Leidi <goodoldpaul@autistici.org>

* gnu/packages/crates-io.scm (rust-qrcodegen-1): New variable.

Change-Id: I2f0069293c945299283959cd29f95a37a6b5ea5b
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 76ea0a85ba..bf15f893a3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62950,6 +62950,29 @@ (define-public rust-qrencode-0.14
     (description "This package provides QR code encoder in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-qrcodegen-1
+  (package
+    (name "rust-qrcodegen")
+    (version "1.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "qrcodegen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hn1j12q31nzlkra42s20p0wh198bx8f7xc73mic3j9121xgqfa3"))))
+    (build-system cargo-build-system)
+    (arguments
+     ;; Doctests contain errors, see:
+     ;; https://github.com/nayuki/QR-Code-generator/pull/158
+     `(#:cargo-test-flags '("--" "--skip=test src/lib.rs - (line 67)"
+                            "--skip=src/lib.rs - (line 75)")))
+    (home-page "https://www.nayuki.io/page/qr-code-generator-library";)
+    (synopsis "High-quality QR Code generator library")
+    (description
+     "This package provides a high-quality QR Code generator library.")
+    (license license:expat)))
+
 (define-public rust-quad-rand-0.2
   (package
     (name "rust-quad-rand")
-- 
2.47.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]