guix-commits
[Top][All Lists]
Advanced

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

06/17: gnu: Add rust-libgit2-sys-0.10.


From: guix-commits
Subject: 06/17: gnu: Add rust-libgit2-sys-0.10.
Date: Mon, 20 Jan 2020 10:00:04 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit ad30f7dc0138a56effb125faf2e7c3bfbdb84ea0
Author: John Soo <address@hidden>
AuthorDate: Wed Jan 15 07:24:27 2020 -0800

    gnu: Add rust-libgit2-sys-0.10.
    
    * gnu/packages/crates-io.scm (rust-libgit2-sys-0.10): New variable.
    (rust-libgit2-sys-0.8): Inherit from rust-libgit2-sys-0.10.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2120a63..23a2fd5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5054,10 +5054,10 @@ values of all the exported APIs match the platform that 
libc is compiled for.")
     (license (list license:expat
                    license:asl2.0))))
 
-(define-public rust-libgit2-sys-0.8
+(define-public rust-libgit2-sys-0.10
   (package
     (name "rust-libgit2-sys")
-    (version "0.8.2")
+    (version "0.10.0")
     (source
       (origin
         (method url-fetch)
@@ -5065,7 +5065,7 @@ values of all the exported APIs match the platform that 
libc is compiled for.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) ))
+          "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))))
     (build-system cargo-build-system)
     ;(arguments
     ; `(#:phases
@@ -5092,6 +5092,20 @@ values of all the exported APIs match the platform that 
libc is compiled for.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-libgit2-sys-0.8
+  (package
+    (inherit rust-libgit2-sys-0.10)
+    (name "rust-libgit2-sys")
+    (version "0.8.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "libgit2-sys" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc"))))))
+
 (define-public rust-libgit2-sys-0.7
   (package
     (inherit rust-libgit2-sys-0.8)
@@ -5104,8 +5118,7 @@ values of all the exported APIs match the platform that 
libc is compiled for.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))
-    (build-system cargo-build-system)))
+          "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))))
 
 (define-public rust-libloading-0.5
   (package



reply via email to

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