[bug#74234,rust-team,v3,19/23] gnu: Add rust-qrcode-generator-5.
Commit Message
* gnu/packages/crates-io.scm (rust-qrcode-generator-5): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++----
1 file changed, 27 insertions(+), 4 deletions(-)
@@ -62929,17 +62929,17 @@ (define-public rust-qrcode-0.14
(description "QR code and Micro QR code encoder in Rust.")
(license (list license:expat license:asl2.0))))
-(define-public rust-qrcode-generator-4
+(define-public rust-qrcode-generator-5
(package
(name "rust-qrcode-generator")
- (version "4.1.9")
+ (version "5.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "qrcode-generator" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ngiwz7mfqfy7g8nh309vq9qqphyybbp890s4fb418f78sbcn1hx"))))
+ (base32 "0v1hn1rjbz1ay3n786vhaijsv2iiqy4d6naznxcm0imm94c0bw7s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--"
@@ -62947,7 +62947,7 @@ (define-public rust-qrcode-generator-4
"--skip=src/lib.rs - (line 51)"
"--skip=src/lib.rs - (line 31)")
#:cargo-inputs (("rust-html-escape" ,rust-html-escape-0.2)
- ("rust-image" ,rust-image-0.24)
+ ("rust-image" ,rust-image-0.25)
("rust-qrcodegen" ,rust-qrcodegen-1))
#:cargo-development-inputs (("rust-manifest-dir-macros"
,rust-manifest-dir-macros-0.1))))
@@ -62959,6 +62959,29 @@ (define-public rust-qrcode-generator-4
RAW, PNG and SVG formats.")
(license license:expat)))
+(define-public rust-qrcode-generator-4
+ (package
+ (inherit rust-qrcode-generator-5)
+ (name "rust-qrcode-generator")
+ (version "4.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "qrcode-generator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ngiwz7mfqfy7g8nh309vq9qqphyybbp890s4fb418f78sbcn1hx"))))
+ (arguments
+ `(#:cargo-test-flags '("--"
+ ;; Missing files
+ "--skip=src/lib.rs - (line 51)"
+ "--skip=src/lib.rs - (line 31)")
+ #:cargo-inputs (("rust-html-escape" ,rust-html-escape-0.2)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-qrcodegen" ,rust-qrcodegen-1))
+ #:cargo-development-inputs (("rust-manifest-dir-macros"
+ ,rust-manifest-dir-macros-0.1))))))
+
(define-public rust-qrencode-0.14
(package
(name "rust-qrencode")