aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-17 17:46:09 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-17 19:40:09 +0300
commit241bc53eaddf46a7ce58b5562893230605a3541b (patch)
tree3933144f30d39f25c4603e710303d08a8611edf4
parent4bf8cd217a2d6d70f9bb506bbc1491cbeec172c3 (diff)
downloadpatches-241bc53eaddf46a7ce58b5562893230605a3541b.tar
patches-241bc53eaddf46a7ce58b5562893230605a3541b.tar.gz
gnu: Add rust-libgit2-sys-0.7.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.7): New variable.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1a893a14d..c0163b8e05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1612,6 +1612,34 @@ the platform that libc is compiled for.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-libgit2-sys-0.7
+ (package
+ (inherit rust-libgit2-sys)
+ (name "rust-libgit2-sys")
+ (version "0.7.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-curl-sys" ,rust-curl-sys)
+ ("rust-libc" ,rust-libc)
+ ("rust-libssh2-sys" ,rust-libssh2-sys)
+ ("rust-libz-sys" ,rust-libz-sys)
+ ("rust-openssl-sys" ,rust-openssl-sys))
+ #:cargo-development-inputs
+ (("rust-cc" ,rust-cc)
+ ("rust-pkg-config" ,rust-pkg-config))))
+ (inputs
+ `(("curl" ,curl)
+ ,@(package-inputs rust-libgit2-sys)))))
+
(define-public rust-libloading
(package
(name "rust-libloading")