me
/
guix
Archived
1
0
Fork 0

gnu: rust-nom-6: Update to 6.2.1.

* gnu/packages/crates-io.scm (rust-nom-6): Update to 6.2.1.
[snippet]: Add snippet to not limit rust-memchr-2 to versions under
2.4.0.
[cargo-inputs]: Add rust-funty-1.
master
Efraim Flashner 2023-01-12 18:28:44 +02:00 committed by Maxim Cournoyer
parent 0cd4ee43cb
commit 1d564a5235
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 9 additions and 2 deletions

View File

@ -36368,7 +36368,7 @@ combinators library.")
(package (package
(inherit rust-nom-7) (inherit rust-nom-7)
(name "rust-nom") (name "rust-nom")
(version "6.0.1") (version "6.2.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -36377,11 +36377,18 @@ combinators library.")
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1w0ppq112myzwk23c8m0wmq0nv73xvn0g9gl2kfm83aadgylq0w8")))) "19h3l5hajpcszwl6nzcmgs4mpng73ifn6akslq7n4g1s12wm2p4w"))
(modules '((guix build utils)))
(snippet
'(begin
;; Allow any version of memchr 2.
(substitute* "Cargo.toml"
((">=2.0, <2.4") "2.0"))))))
(arguments (arguments
`(#:tests? #f ; Tests require example directory, not included in tarball. `(#:tests? #f ; Tests require example directory, not included in tarball.
#:cargo-inputs #:cargo-inputs
(("rust-bitvec" ,rust-bitvec-0.19) (("rust-bitvec" ,rust-bitvec-0.19)
("rust-funty" ,rust-funty-1)
("rust-lazy-static" ,rust-lazy-static-1) ("rust-lazy-static" ,rust-lazy-static-1)
("rust-lexical-core" ,rust-lexical-core-0.7) ("rust-lexical-core" ,rust-lexical-core-0.7)
("rust-memchr" ,rust-memchr-2) ("rust-memchr" ,rust-memchr-2)