guix-commits
[Top][All Lists]
Advanced

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

08/135: gnu: Add rust-asyncgit-0.25.


From: guix-commits
Subject: 08/135: gnu: Add rust-asyncgit-0.25.
Date: Wed, 27 Mar 2024 04:54:39 -0400 (EDT)

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

commit d3e55d185d3f79e0cc1126f7e5c42acddccd9606
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:07 2024 +0100

    gnu: Add rust-asyncgit-0.25.
    
    * gnu/packages/crates-vcs.scm (rust-asyncgit-0.25): New variable.
    
    Change-Id: I85832ec9ce83a0d7e172534e04e39758854febaf
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-vcs.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 805e1c1b65..c6af23d1ce 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -44,6 +44,52 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control))
 
+(define-public rust-asyncgit-0.25
+  (package
+    (name "rust-asyncgit")
+    (version "0.25.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "asyncgit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05qlwp63k5zd4yd7n18v6bs32fhbx5qlsc98j203maacy0vlm9h7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip" "reject_in_subfolder"      ; /bin/sh
+                            "--skip" "test_pre_commit_workdir"  ; /bin/sh
+                            "--skip" "sync::submodules::tests::test_smoke") ; 
network
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+                       ("rust-easy-cast" ,rust-easy-cast-0.5)
+                       ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3)
+                       ("rust-git2" ,rust-git2-0.18)
+                       ("rust-git2-hooks" ,rust-git2-hooks-0.3)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+                       ("rust-rayon" ,rust-rayon-1)
+                       ("rust-rayon-core" ,rust-rayon-core-1)
+                       ("rust-scopetime" ,rust-scopetime-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-unicode-truncate" ,rust-unicode-truncate-0.2)
+                       ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.11)
+        ("rust-invalidstring" ,rust-invalidstring-0.1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-serial-test" ,rust-serial-test-3)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config git-minimal))
+    (inputs (list libgit2-1.7 libssh2 openssl zlib))
+    (home-page "https://github.com/extrawurst/gitui";)
+    (synopsis "Use git2 in an asynchronous context")
+    (description
+     "This package provides for using git2 in an asynchronous context.")
+    (license license:expat)))
+
 (define-public rust-git-testament-0.2
   (package
     (name "rust-git-testament")



reply via email to

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