guix-commits
[Top][All Lists]
Advanced

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

57/311: gnu: Add rust-git2-curl-0.18.


From: guix-commits
Subject: 57/311: gnu: Add rust-git2-curl-0.18.
Date: Sat, 28 Oct 2023 16:37:47 -0400 (EDT)

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

commit ff6533c55f37487e61393417b6f0a34fc78caeba
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:10:11 2023 +0300

    gnu: Add rust-git2-curl-0.18.
    
    * gnu/packages/crates-io.scm (rust-git2-curl-0.18): New variable.
    (rust-git2-curl-0.17): Inherit from rust-git2-curl-0.18.
    
    Change-Id: I09e0dc2a9bd20694d3eea17ccb686885166a9826
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80f136431c..437acb1bb4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29583,24 +29583,23 @@ reading and writing git repositories.")
      (modify-inputs (package-inputs rust-git2-0.11)
        (prepend curl)))))
 
-(define-public rust-git2-curl-0.17
+(define-public rust-git2-curl-0.18
   (package
     (name "rust-git2-curl")
-    (version "0.17.0")
+    (version "0.18.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "git2-curl" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm"))))
+        (base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t                 ;need rust-civet and others
        #:cargo-inputs
        (("rust-curl" ,rust-curl-0.4)
-        ("rust-git2" ,rust-git2-0.16)
+        ("rust-git2" ,rust-git2-0.17)
         ("rust-log" ,rust-log-0.4)
         ("rust-url" ,rust-url-2))))
     (home-page "https://github.com/rust-lang/git2-rs";)
@@ -29609,6 +29608,26 @@ reading and writing git repositories.")
 libcurl, which is intended to be used with the @code{git2} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-git2-curl-0.17
+  (package
+    (inherit rust-git2-curl-0.18)
+    (name "rust-git2-curl")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "git2-curl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm"))))
+    (arguments
+     `(#:skip-build? #t                 ;need rust-civet and others
+       #:cargo-inputs
+       (("rust-curl" ,rust-curl-0.4)
+        ("rust-git2" ,rust-git2-0.16)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-url" ,rust-url-2))))))
+
 (define-public rust-gjson-0.8
   (package
     (name "rust-gjson")



reply via email to

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