guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

135/187: gnu: Add rust-libgit2-sys-0.13.


From: guix-commits
Subject: 135/187: gnu: Add rust-libgit2-sys-0.13.
Date: Mon, 24 Oct 2022 10:58:25 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 9867038f31f1b612514940c5c849f870a118a866
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 24 16:07:37 2022 +0300

    gnu: Add rust-libgit2-sys-0.13.
    
    * gnu/packages/crates-io.scm (rust-libgit2-sys-0.13): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]