mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 03:50:45 +02: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.")
|
"This is an internal macro crate for git-version.")
|
||||||
(license license:bsd-2)))
|
(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
|
(define-public rust-git2-0.18
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-git2-0.19)
|
||||||
(name "rust-git2")
|
(name "rust-git2")
|
||||||
(version "0.18.3")
|
(version "0.18.3")
|
||||||
(source
|
(source
|
||||||
|
@ -224,7 +260,6 @@ dirty state into your program.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3"))))
|
(base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-test-flags (list "--release" "--"
|
`(#:cargo-test-flags (list "--release" "--"
|
||||||
"--skip=cred::test::credential_helper5")
|
"--skip=cred::test::credential_helper5")
|
||||||
|
@ -239,14 +274,7 @@ dirty state into your program.")
|
||||||
("rust-tempfile" ,rust-tempfile-3)
|
("rust-tempfile" ,rust-tempfile-3)
|
||||||
("rust-time" ,rust-time-0.1))))
|
("rust-time" ,rust-time-0.1))))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(inputs (list libgit2-1.7 libssh2 openssl zlib))
|
(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))))
|
|
||||||
|
|
||||||
(define-public rust-git2-0.17
|
(define-public rust-git2-0.17
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue