guix-commits
[Top][All Lists]
Advanced

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

44/311: gnu: Add rust-libgit2-sys-0.15.


From: guix-commits
Subject: 44/311: gnu: Add rust-libgit2-sys-0.15.
Date: Sat, 28 Oct 2023 16:37:36 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 5bbffe324f6cebc07424e49be05030bb7bd953bf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:50:00 2023 +0300

    gnu: Add rust-libgit2-sys-0.15.
    
    * gnu/packages/crates-io.scm (rust-libgit2-sys-0.15): New variable.
    (rust-libgit2-sys-0.14): Inherit from rust-libgit2-sys-0.15.
    
    Change-Id: Ic9e5705270fb6029ca34e877d2dadb0d184128cd
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77fb2c5b99..3de6e59ce6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37172,19 +37172,17 @@ algorithm and related formats (ZLIB, GZIP).")
     (license
      (list license:expat license:asl2.0 license:ncsa))))
 
-(define-public rust-libgit2-sys-0.14
+(define-public rust-libgit2-sys-0.15
   (package
     (name "rust-libgit2-sys")
-    (version "0.14.2+1.5.1")
+    (version "0.15.2+1.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "libgit2-sys" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1926x5f84ykr8j2lsdmb0n0bj4jz173j5bm722cgwx8hnpv9agbz"))
+        (base32 "1yllyq9wiryy257cfx8s7wadls24yzkxnhmbl95iz9ml3zhz43d8"))
        (modules '((guix build utils)))
        (snippet
         '(begin (delete-file-recursively "libgit2")))))
@@ -37193,14 +37191,14 @@ algorithm and related formats (ZLIB, GZIP).")
      `(#:cargo-inputs
        (("rust-cc" ,rust-cc-1)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-libssh2-sys" ,rust-libssh2-sys-0.2)
+        ("rust-libssh2-sys" ,rust-libssh2-sys-0.3)
         ("rust-libz-sys" ,rust-libz-sys-1)
         ("rust-openssl-sys" ,rust-openssl-sys-0.9)
         ("rust-pkg-config" ,rust-pkg-config-0.3))))
     (native-inputs
      (list pkg-config))
     (inputs
-     (list libgit2 openssl zlib))
+     (list libgit2-1.6 openssl zlib))
     (home-page "https://github.com/rust-lang/git2-rs";)
     (synopsis "Native bindings to the libgit2 library")
     (description
@@ -37208,6 +37206,32 @@ algorithm and related formats (ZLIB, GZIP).")
 library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libgit2-sys-0.14
+  (package
+    (inherit rust-libgit2-sys-0.15)
+    (name "rust-libgit2-sys")
+    (version "0.14.2+1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libgit2-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1926x5f84ykr8j2lsdmb0n0bj4jz173j5bm722cgwx8hnpv9agbz"))
+       (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.13
   (package
     (inherit rust-libgit2-sys-0.14)



reply via email to

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