* gnu/packages/crates-vcs.scm (rust-asyncgit-0.26): New variable.
Change-Id: I0c28e7159aa6cc58bc83af684801e8e09cbc12c5
---
gnu/packages/crates-vcs.scm | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Toggle diff (61 lines)
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index f7461f4441..d55f0b1922 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -44,6 +44,54 @@ (define-module (gnu packages crates-vcs)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control))
+(define-public rust-asyncgit-0.26
+ (package
+ (name "rust-asyncgit")
+ (version "0.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "asyncgit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q5pbfnsysaqvrhyzj6c4xdhc1702dn7nq0v2js06a99anlhgn60"))))
+ (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-dirs" ,rust-dirs-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-ssh-key" ,rust-ssh-key-0.6)
+ ("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-asyncgit-0.25
(package
(name "rust-asyncgit")
--
2.41.0