gnu: Add rust-git2-curl-0.18.

* gnu/packages/crates-io.scm (rust-git2-curl-0.18): New variable.
(rust-git2-curl-0.17): Inherit from rust-git2-curl-0.18.

Change-Id: I09e0dc2a9bd20694d3eea17ccb686885166a9826
This commit is contained in:
Efraim Flashner 2023-10-24 09:10:11 +03:00
parent cf42290daa
commit 66124ce406
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -29598,24 +29598,23 @@ (define-public rust-git2-0.6
(modify-inputs (package-inputs rust-git2-0.11)
(prepend curl)))))
(define-public rust-git2-curl-0.17
(define-public rust-git2-curl-0.18
(package
(name "rust-git2-curl")
(version "0.17.0")
(version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2-curl" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm"))))
(base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ;need rust-civet and others
#:cargo-inputs
(("rust-curl" ,rust-curl-0.4)
("rust-git2" ,rust-git2-0.16)
("rust-git2" ,rust-git2-0.17)
("rust-log" ,rust-log-0.4)
("rust-url" ,rust-url-2))))
(home-page "https://github.com/rust-lang/git2-rs")
@ -29624,6 +29623,26 @@ (define-public rust-git2-curl-0.17
libcurl, which is intended to be used with the @code{git2} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-git2-curl-0.17
(package
(inherit rust-git2-curl-0.18)
(name "rust-git2-curl")
(version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2-curl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm"))))
(arguments
`(#:skip-build? #t ;need rust-civet and others
#:cargo-inputs
(("rust-curl" ,rust-curl-0.4)
("rust-git2" ,rust-git2-0.16)
("rust-log" ,rust-log-0.4)
("rust-url" ,rust-url-2))))))
(define-public rust-gjson-0.8
(package
(name "rust-gjson")