gnu: Add rust-git2-0.17.
* gnu/packages/crates-io.scm (rust-git2-0.17): New variable. (rust-git2-0.16): Inherit from rust-git2-0.17. Change-Id: Icba5e2e69dbbe11dea4bb0a96a8d3850ef23b2aa
parent
cbcef82fad
commit
de9db06b1c
|
@ -29345,19 +29345,56 @@ dirty state into your program.")
|
|||
"This is an internal macro crate for git-version.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public rust-git2-0.17
|
||||
(package
|
||||
(name "rust-git2")
|
||||
(version "0.17.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "git2" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0i00kg3yizh7mn6hnj3yz3hpniisidlavifgy8n3cnm9gim9v63v"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-libgit2-sys" ,rust-libgit2-sys-0.15)
|
||||
("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-structopt" ,rust-structopt-0.3)
|
||||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-time" ,rust-time-0.1))))
|
||||
(native-inputs
|
||||
(list pkg-config
|
||||
git-minimal)) ;for a single test
|
||||
(inputs
|
||||
(list libgit2-1.6 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.16
|
||||
(package
|
||||
(inherit rust-git2-0.17)
|
||||
(name "rust-git2")
|
||||
(version "0.16.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "git2" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1k1aavsfhk0i9jycc9gb61w2jwy8w9dgkd7zkz295wwm566gdxyc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
|
@ -29371,19 +29408,7 @@ dirty state into your program.")
|
|||
(("rust-paste" ,rust-paste-1)
|
||||
("rust-structopt" ,rust-structopt-0.3)
|
||||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-time" ,rust-time-0.1))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("git" ,git-minimal))) ;for a single test
|
||||
(inputs
|
||||
(list libgit2 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))))
|
||||
("rust-time" ,rust-time-0.1))))))
|
||||
|
||||
(define-public rust-git2-0.15
|
||||
(package
|
||||
|
|
Reference in New Issue