diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 15:59:52 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 17:40:43 +0300 |
commit | a6aa1f7573ee3698964298162539d982eb745f3e (patch) | |
tree | 1369bc3d89ff7d946df7df298c2cc8a7645c066d /gnu | |
parent | 4a3736748ce4c73a0bb84ad7e6716eaab2f409c4 (diff) | |
download | guix-a6aa1f7573ee3698964298162539d982eb745f3e.tar guix-a6aa1f7573ee3698964298162539d982eb745f3e.tar.gz |
gnu: Add rust-crates-index-0.18.
* gnu/packages/crates-io.scm (rust-crates-index-0.18): New variable.
(rust-crates-index-0.17): Inherit from rust-crates-index-0.18.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4dbdc40f7..eaa914ab68 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12978,37 +12978,65 @@ to the @code{is_x86_feature_detected!} macro.") (description "This package provides bindings to Google's cpu profiler.") (license license:bsd-2))) -(define-public rust-crates-index-0.17 +(define-public rust-crates-index-0.18 (package (name "rust-crates-index") - (version "0.17.0") + (version "0.18.10") (source (origin (method url-fetch) (uri (crate-uri "crates-index" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0izrm8m4wic5kp5y4p3f3d50lrlbamp3wizlgr4hm56rimfazm4a")))) + "1x7f7xfvqzlacji88iaz9n4k7wip72sk4gfvxvccli0cbf2yqirl")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-git2" ,rust-git2-0.13) - ("rust-glob" ,rust-glob-0.3) + (("rust-git2" ,rust-git2-0.15) ("rust-hex" ,rust-hex-0.4) ("rust-home" ,rust-home-0.5) ("rust-memchr" ,rust-memchr-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-smartstring" ,rust-smartstring-0.2)))) + ("rust-smartstring" ,rust-smartstring-1)))) (home-page "https://github.com/frewsxcv/rust-crates-index") (synopsis "Retrieving and interacting with the crates.io index") (description "Library for retrieving and interacting with the crates.io index.") (license license:asl2.0))) +(define-public rust-crates-index-0.17 + (package + (inherit rust-crates-index-0.18) + (name "rust-crates-index") + (version "0.17.0") + (source (origin + (method url-fetch) + (uri (crate-uri "crates-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0izrm8m4wic5kp5y4p3f3d50lrlbamp3wizlgr4hm56rimfazm4a")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-git2" ,rust-git2-0.13) + ("rust-glob" ,rust-glob-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) + ("rust-memchr" ,rust-memchr-2) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-0.2)))))) + (define-public rust-crates-index-0.13 (package (inherit rust-crates-index-0.17) |