summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 16:07:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 17:40:46 +0300
commit9867038f31f1b612514940c5c849f870a118a866 (patch)
tree8b9eee9e8b7ab15a70dc62ceb2f35716ae57b12c /gnu
parentfbd44e5ac5ccd82cb4563b6cc2276467325f3bbd (diff)
downloadguix-9867038f31f1b612514940c5c849f870a118a866.tar.gz
gnu: Add rust-libgit2-sys-0.13.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.13): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ec02184a93..79b352d541 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29993,6 +29993,32 @@ algorithm and related formats (ZLIB, GZIP).")
 library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libgit2-sys-0.13
+  (package
+    (inherit rust-libgit2-sys-0.14)
+    (name "rust-libgit2-sys")
+    (version "0.13.4+1.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libgit2-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lgm4ssz4aw85k8jaj9xmp9wbhgvd8y80vbzrksjbphy8dinbynh"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (delete-file-recursively "libgit2")))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-libssh2-sys" ,rust-libssh2-sys-0.2)
+        ("rust-libz-sys" ,rust-libz-sys-1)
+        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))))
+
 (define-public rust-libgit2-sys-0.12
   (package
     (inherit rust-libgit2-sys-0.14)