mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 03:59:40 +01:00
gnu: Add rust-git2-0.19.
* gnu/packages/crates-vcs.scm (rust-git2-0.19): New variable. (rust-git2-0.18): Inherit from rust-git2-0.19. Change-Id: I4d468ab7a5fb52e6c6d683474c3b543d9d32da11
This commit is contained in:
parent
fdd8cc3181
commit
63397c66dd
1 changed files with 37 additions and 9 deletions
|
@ -213,8 +213,44 @@ dirty state into your program.")
|
|||
"This is an internal macro crate for git-version.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public rust-git2-0.19
|
||||
(package
|
||||
(name "rust-git2")
|
||||
(version "0.19.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "git2" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "091pv7866z1qjq800ys0wjv8n73wrv7fqdrddxcnq36w8lzbf0xr"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags (list "--release" "--"
|
||||
"--skip=cred::test::credential_helper5")
|
||||
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-libgit2-sys" ,rust-libgit2-sys-0.17)
|
||||
("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-clap" ,rust-clap-4)
|
||||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-time" ,rust-time-0.1))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list libgit2-1.8 libssh2 openssl zlib))
|
||||
(home-page "https://github.com/rust-lang/git2-rs")
|
||||
(synopsis "Rust bindings to libgit2")
|
||||
(description
|
||||
"This package provides bindings to libgit2 for interoperating with git
|
||||
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.18
|
||||
(package
|
||||
(inherit rust-git2-0.19)
|
||||
(name "rust-git2")
|
||||
(version "0.18.3")
|
||||
(source
|
||||
|
@ -224,7 +260,6 @@ dirty state into your program.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags (list "--release" "--"
|
||||
"--skip=cred::test::credential_helper5")
|
||||
|
@ -239,14 +274,7 @@ dirty state into your program.")
|
|||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-time" ,rust-time-0.1))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list libgit2-1.7 libssh2 openssl zlib))
|
||||
(home-page "https://github.com/rust-lang/git2-rs")
|
||||
(synopsis "Rust bindings to libgit2")
|
||||
(description
|
||||
"This package provides bindings to libgit2 for interoperating with git
|
||||
repositories. This library is both threadsafe and memory safe and allows both
|
||||
reading and writing git repositories.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(inputs (list libgit2-1.7 libssh2 openssl zlib))))
|
||||
|
||||
(define-public rust-git2-0.17
|
||||
(package
|
||||
|
|
Loading…
Add table
Reference in a new issue