guix-commits
[Top][All Lists]
Advanced

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

133/187: gnu: Add rust-git2-0.14.


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

efraim pushed a commit to branch master
in repository guix.

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

    gnu: Add rust-git2-0.14.
    
    * gnu/packages/crates-io.scm (rust-git2-0.14): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59ad444fb9..50f6d4e4b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23761,6 +23761,35 @@ repositories.  This library is both threadsafe and 
memory safe and allows both
 reading and writing git repositories.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-git2-0.14
+  (package
+    (inherit rust-git2-0.15)
+    (name "rust-git2")
+    (version "0.14.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "git2" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "074kqlmh7q39pqcj9rmrnmx4v5njh2j09dfxc1hsh45pm835a5fh"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-libgit2-sys" ,rust-libgit2-sys-0.13)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+        ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-paste" ,rust-paste-1)
+        ("rust-structopt" ,rust-structopt-0.3)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-time" ,rust-time-0.1))))))
+
 (define-public rust-git2-0.13
   (package
     (inherit rust-git2-0.15)



reply via email to

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