gnu: Add rust-git2-0.14.

* gnu/packages/crates-io.scm (rust-git2-0.14): New variable.
This commit is contained in:
Efraim Flashner 2022-10-24 16:06:14 +03:00
parent dbf2f3ef1a
commit 8d685b9d74
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -23761,6 +23761,35 @@ (define-public rust-git2-0.15
reading and writing git repositories.")
(license (list license:expat license:asl2.0))))
(define-public rust-git2-0.14
(package
(inherit rust-git2-0.15)
(name "rust-git2")
(version "0.14.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"074kqlmh7q39pqcj9rmrnmx4v5njh2j09dfxc1hsh45pm835a5fh"))))
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-libc" ,rust-libc-0.2)
("rust-libgit2-sys" ,rust-libgit2-sys-0.13)
("rust-log" ,rust-log-0.4)
("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-url" ,rust-url-2))
#:cargo-development-inputs
(("rust-paste" ,rust-paste-1)
("rust-structopt" ,rust-structopt-0.3)
("rust-tempfile" ,rust-tempfile-3)
("rust-time" ,rust-time-0.1))))))
(define-public rust-git2-0.13
(package
(inherit rust-git2-0.15)