aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-20 08:12:00 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:59 +0200
commitb7a2cf62787543b5f5af0eb26227236a3ecff4bb (patch)
tree4fab36c1bcfde6a8d1ebc42e52cbcebd5440002f
parent3ad38420ab6be8bbbe2b77079ef82d4ab6927a53 (diff)
downloadpatches-b7a2cf62787543b5f5af0eb26227236a3ecff4bb.tar
patches-b7a2cf62787543b5f5af0eb26227236a3ecff4bb.tar.gz
gnu: Add rust-crates-index-0.13.
* gnu/packages/crates-io.scm (rust-crates-index-0.13): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6b13bffec8..8735adc697 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1509,6 +1509,39 @@ intrinsics.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-crates-index-0.13
+ (package
+ (name "rust-crates-index")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crates-index" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n7pp6mk59hw3nqlh8irxc9pp0g5ziw7bprqsw2lxvg13cvdp76s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-error-chain" ,rust-error-chain-0.12)
+ ("rust-git2" ,rust-git2-0.9)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))
+ #: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)))
+
(define-public rust-crc32fast-1.2
(package
(name "rust-crc32fast")