mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: Add rust-itertools-0.10.
* gnu/packages/crates-io.scm (rust-itertools-0.10): New variable. (rust-itertools-0.9): Inherit from above.
This commit is contained in:
parent
9b4432e5a4
commit
851cabc35b
1 changed files with 25 additions and 9 deletions
|
@ -19237,8 +19237,32 @@ (define-public rust-iso8601-0.1
|
|||
(description "Parsing ISO8601 dates using nom.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-itertools-0.10
|
||||
(package
|
||||
(name "rust-itertools")
|
||||
(version "0.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "itertools" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "06dkghwi1a6ah2103gibxnr2ys762m5x4rp75x0q43imis8p5m9p"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-either" ,rust-either-1))))
|
||||
(home-page "https://github.com/rust-itertools/itertools")
|
||||
(synopsis "Extra iterator adaptors, methods, free functions, and macros")
|
||||
(description
|
||||
"This package provides extra iterator adaptors, iterator methods, free
|
||||
functions, and macros.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-itertools-0.9
|
||||
(package
|
||||
(inherit rust-itertools-0.10)
|
||||
(name "rust-itertools")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
|
@ -19250,7 +19274,6 @@ (define-public rust-itertools-0.9
|
|||
(sha256
|
||||
(base32
|
||||
"0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-either" ,rust-either-1))
|
||||
|
@ -19265,14 +19288,7 @@ (define-public rust-itertools-0.9
|
|||
(lambda _
|
||||
(substitute* "Cargo.toml"
|
||||
(("=0.3.0") "0.3"))
|
||||
#t)))))
|
||||
(home-page
|
||||
"https://github.com/rust-itertools/itertools")
|
||||
(synopsis
|
||||
"Extra iterator adaptors, iterator methods, free functions, and macros")
|
||||
(description
|
||||
"Extra iterator adaptors, iterator methods, free functions, and macros.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
#t)))))))
|
||||
|
||||
(define-public rust-itertools-0.8
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue