me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-crates-index-0.17.

* gnu/packages/crates-io.scm (rust-crates-index-0.17): New variable.
  (rust-crates-index-0.13): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Petr Hodina 2022-02-05 13:47:43 +01:00 committed by Nicolas Goaziou
parent 134bef2790
commit 7555ec8649
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 33 additions and 9 deletions

View File

@ -13579,8 +13579,40 @@ to @code{is_x86_feature_detected}.")
(description "This package provides bindings to Google's cpu profiler.")
(license license:bsd-2)))
(define-public rust-crates-index-0.17
(package
(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"))))
(build-system cargo-build-system)
(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))))
(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.13
(package
(inherit rust-crates-index-0.17)
(name "rust-crates-index")
(version "0.13.1")
(source
@ -13592,7 +13624,6 @@ to @code{is_x86_feature_detected}.")
(sha256
(base32
"1n7pp6mk59hw3nqlh8irxc9pp0g5ziw7bprqsw2lxvg13cvdp76s"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -13603,14 +13634,7 @@ to @code{is_x86_feature_detected}.")
("rust-serde-derive" ,rust-serde-derive-1)
("rust-serde-json" ,rust-serde-json-1))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))
(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)))
(("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-crates-index-0.5
(package