me
/
guix
Archived
1
0
Fork 0

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>
master
VÖRÖSKŐI András 2024-02-24 21:39:07 +01:00 committed by Efraim Flashner
parent 6c01abae56
commit 7876bb6f96
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 46 additions and 0 deletions

View File

@ -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")