gnu: Add rust-crates-index-0.5.

* gnu/packages/crates-io.scm (rust-crates-index-0.5): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Aleksandr Vityazev 2022-01-17 13:22:18 +00:00 committed by Nicolas Goaziou
parent 3c924c9db1
commit 521e049a6b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -12459,6 +12459,28 @@ (define-public rust-crates-index-0.13
"Library for retrieving and interacting with the crates.io index.")
(license license:asl2.0)))
(define-public rust-crates-index-0.5
(package
(inherit rust-crates-index-0.13)
(name "rust-crates-index-5")
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "crates-index" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gak1czvvdz7l00vkkj61srrfa1sj2yl4ydghhgywydby5qh3mlg"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;"curl error: Could not resolve host: github.com\n"
#:cargo-inputs
(("rust-git2" ,rust-git2-0.6)
("rust-glob" ,rust-glob-0.2)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
(native-inputs (list pkg-config))
(inputs (list zlib openssl libssh2 curl cmake))))
(define-public rust-crates-io-0.33
(package
(name "rust-crates-io")