diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-24 09:59:03 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:37 +0200 |
commit | ef2db9ee0e142a84e81825c684ff098ee28e0476 (patch) | |
tree | 8bfbb85b40e9653b3dccfcabd66d66e45a953e75 /gnu | |
parent | b6764ac0b72cb821742f70266d3bbd10396bb8fc (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a7a31624f..d7841f7563 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39484,8 +39484,35 @@ stream runs in a TTY.") language codes.") (license license:asl2.0))) +(define-public rust-itertools-0.12 + (package + (name "rust-itertools") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c07gzdlc6a1c8p8jrvvw3gs52bss3y58cs2s21d9i978l36pnr5")))) + (build-system cargo-build-system) + (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)))) + (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.11 (package + (inherit rust-itertools-0.12) (name "rust-itertools") (version "0.11.0") (source @@ -39495,7 +39522,6 @@ language codes.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mzyqcc59azx9g5cg6fs8k529gvh4463smmka6jvzs3cd2jp7hdi")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) @@ -39504,13 +39530,7 @@ language codes.") ("rust-paste" ,rust-paste-1) ("rust-permutohedron" ,rust-permutohedron-0.2) ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7)))) - (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)))) + ("rust-rand" ,rust-rand-0.7)))))) (define-public rust-itertools-0.10 (package |