mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: rust-nom-7: Update to 7.1.2.
* gnu/packages/crates-io.scm (rust-nom-7): Update to 7.1.2. [cargo-inputs]: Remove rust-version-check-0.9. [cargo-development-inputs]: Remove rust-criterion-0.3, rust-jemallocator-0.3. [arguments]: Remove phase setting location of libjemalloc_pic.a. [native-inputs]: Remove jemalloc. (rust-n0m-6)[native-inputs]: Explicitly add jemalloc.
This commit is contained in:
parent
750a5190a4
commit
0cd4ee43cb
1 changed files with 7 additions and 19 deletions
|
@ -36337,7 +36337,7 @@ (define-public rust-nodrop-union-0.1
|
|||
(define-public rust-nom-7
|
||||
(package
|
||||
(name "rust-nom")
|
||||
(version "7.1.1")
|
||||
(version "7.1.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -36346,29 +36346,16 @@ (define-public rust-nom-7
|
|||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0djc3lq5xihnwhrvkc4bj0fd58sjf632yh6hfiw545x355d3x458"))))
|
||||
"132lkkqd8hcbmpb90hncwknr7rn6knfq7774d679k74iqilpfl75"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests require example directory, not included in tarball.
|
||||
#:cargo-inputs
|
||||
(("rust-memchr" ,rust-memchr-2)
|
||||
("rust-minimal-lexical" ,rust-minimal-lexical-0.2)
|
||||
("rust-version-check" ,rust-version-check-0.9))
|
||||
("rust-minimal-lexical" ,rust-minimal-lexical-0.2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-criterion" ,rust-criterion-0.3)
|
||||
("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||
("rust-jemallocator" ,rust-jemallocator-0.3)
|
||||
("rust-proptest" ,rust-proptest-1))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'configure 'override-jemalloc
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((jemalloc (assoc-ref inputs "jemalloc")))
|
||||
(setenv "JEMALLOC_OVERRIDE"
|
||||
(string-append jemalloc "/lib/libjemalloc_pic.a")))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
(list jemalloc))
|
||||
(("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||
("rust-proptest" ,rust-proptest-1))))
|
||||
(home-page "https://github.com/Geal/nom")
|
||||
(synopsis
|
||||
"Byte-oriented, zero-copy, parser combinators library")
|
||||
|
@ -36411,7 +36398,8 @@ (define-public rust-nom-6
|
|||
(let ((jemalloc (assoc-ref inputs "jemalloc")))
|
||||
(setenv "JEMALLOC_OVERRIDE"
|
||||
(string-append jemalloc "/lib/libjemalloc_pic.a")))
|
||||
#t)))))))
|
||||
#t)))))
|
||||
(native-inputs (list jemalloc))))
|
||||
|
||||
(define-public rust-nom-5
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue