Skip to content

Commit ba7ead2

Browse files
valignatevMillak
authored andcommitted
gnu: Add rust-nom-3.
* gnu/packages/crates-io.scm (rust-nom-3): New variable. Signed-off-by: Efraim Flashner <[email protected]>
1 parent d20c6d3 commit ba7ead2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

gnu/packages/crates-io.scm

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7954,6 +7954,29 @@ implementation (which is unstable / requires nightly).")
79547954
combinators library.")
79557955
(license license:expat)))
79567956

7957+
(define-public rust-nom-3
7958+
(package
7959+
(inherit rust-nom-4.2)
7960+
(name "rust-nom")
7961+
(version "3.2.1")
7962+
(source
7963+
(origin
7964+
(method url-fetch)
7965+
(uri (crate-uri "nom" version))
7966+
(file-name
7967+
(string-append name "-" version ".tar.gz"))
7968+
(sha256
7969+
(base32
7970+
"0yr8fazcspgawl6s7wmx5llz61s68jl88cnrph18fa7xf06cbbh5"))))
7971+
(build-system cargo-build-system)
7972+
(arguments
7973+
`(#:tests? #f ; stream::tests::seeking_consumer fails
7974+
#:cargo-inputs
7975+
(("rust-compiler-error" ,rust-compiler-error-0.1)
7976+
("rust-lazy-static" ,rust-lazy-static-0.2)
7977+
("rust-memchr" ,rust-memchr-1.0)
7978+
("rust-regex" ,rust-regex-0.2))))))
7979+
79577980
(define-public rust-nom-1.2
79587981
(package
79597982
(inherit rust-nom-4.2)

0 commit comments

Comments
 (0)