guix-commits
[Top][All Lists]
Advanced

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

134/187: gnu: Add rust-libgit2-sys-0.14.


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

efraim pushed a commit to branch master
in repository guix.

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

    gnu: Add rust-libgit2-sys-0.14.
    
    * gnu/packages/crates-io.scm (rust-libgit2-sys-0.14): New variable.
    (rust-libgit2-sys-0.12): Inherit from rust-libgit2-sys-0.12.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50f6d4e4b5..ec02184a93 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29957,10 +29957,10 @@ algorithm and related formats (ZLIB, GZIP).")
     (license
      (list license:expat license:asl2.0 license:ncsa))))
 
-(define-public rust-libgit2-sys-0.12
+(define-public rust-libgit2-sys-0.14
   (package
     (name "rust-libgit2-sys")
-    (version "0.12.25+1.3.0")
+    (version "0.14.0+1.5.0")
     (source
      (origin
        (method url-fetch)
@@ -29969,7 +29969,7 @@ algorithm and related formats (ZLIB, GZIP).")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g"))
+         "16wm7m65xvfqn11bhiclg7v5ajswhwrcrlg631r4z2hcqxchi827"))
        (modules '((guix build utils)))
        (snippet
         '(begin (delete-file-recursively "libgit2")))))
@@ -29993,6 +29993,32 @@ algorithm and related formats (ZLIB, GZIP).")
 library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libgit2-sys-0.12
+  (package
+    (inherit rust-libgit2-sys-0.14)
+    (name "rust-libgit2-sys")
+    (version "0.12.25+1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libgit2-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g"))
+       (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.10
   (package
     (inherit rust-libgit2-sys-0.12)



reply via email to

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