guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 44/436: gnu: Add rust-libgit2-sys-0.15.
Date: Sun, 5 Nov 2023 05:28:01 -0500 (EST)

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

commit c5e1dbaf8f601d1bdfd3be90e26d7b824d6f81a6
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 bcee186196..20930a5d54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37187,19 +37187,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")))))
@@ -37208,14 +37206,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
@@ -37223,6 +37221,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]