gnu: Add rust-itertools-0.12.

* gnu/packages/crates-io.scm (rust-itertools-0.12): New variable.
(rust-itertools-0.11): Inherit from rust-itertools-0.12.

Change-Id: I3e461a7c4fb200220b908c989d04d6abd52a2b92
This commit is contained in:
Efraim Flashner 2023-12-24 09:59:03 +02:00
parent b6764ac0b7
commit ef2db9ee0e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -39484,23 +39484,21 @@ (define-public rust-isolang-2
language codes.")
(license license:asl2.0)))
(define-public rust-itertools-0.11
(define-public rust-itertools-0.12
(package
(name "rust-itertools")
(version "0.11.0")
(version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "itertools" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0mzyqcc59azx9g5cg6fs8k529gvh4463smmka6jvzs3cd2jp7hdi"))))
(base32 "1c07gzdlc6a1c8p8jrvvw3gs52bss3y58cs2s21d9i978l36pnr5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-either" ,rust-either-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
`(#:cargo-inputs (("rust-either" ,rust-either-1))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
("rust-paste" ,rust-paste-1)
("rust-permutohedron" ,rust-permutohedron-0.2)
("rust-quickcheck" ,rust-quickcheck-0.9)
@ -39512,6 +39510,28 @@ (define-public rust-itertools-0.11
functions, and macros.")
(license (list license:expat license:asl2.0))))
(define-public rust-itertools-0.11
(package
(inherit rust-itertools-0.12)
(name "rust-itertools")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "itertools" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0mzyqcc59azx9g5cg6fs8k529gvh4463smmka6jvzs3cd2jp7hdi"))))
(arguments
`(#:cargo-inputs
(("rust-either" ,rust-either-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
("rust-paste" ,rust-paste-1)
("rust-permutohedron" ,rust-permutohedron-0.2)
("rust-quickcheck" ,rust-quickcheck-0.9)
("rust-rand" ,rust-rand-0.7))))))
(define-public rust-itertools-0.10
(package
(inherit rust-itertools-0.11)