summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 16:06:14 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 17:40:45 +0300
commit8d685b9d74fbf8ef7fd545957ebb1781d133baf6 (patch)
treeebd512ee9892899fa24ea5eca6700b79b64492cd
parentdbf2f3ef1a41c5fd1077424f376e55b4dcc123d4 (diff)
gnu: Add rust-git2-0.14.
* gnu/packages/crates-io.scm (rust-git2-0.14): New variable.
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59ad444fb9..50f6d4e4b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23761,6 +23761,35 @@ repositories. This library is both threadsafe and memory safe and allows both
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)