[bug#74234,rust-team,v3,17/23] gnu: Add rust-qrcodegen-1.
Commit Message
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(+)
@@ -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")