mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-libgit2-sys-0.17.
* gnu/packages/crates-vcs.scm (rust-libgit2-sys-0.17): New variable. (rust-libgit2-sys-0.16): Inherit from rust-libgit2-sys-0.17. Change-Id: Ibe4878f68b90bce817fef3682cc3197785e69a79
This commit is contained in:
parent
63397c66dd
commit
9487e79cb2
1 changed files with 29 additions and 4 deletions
|
@ -5861,17 +5861,17 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.")
|
|||
("rust-parking-lot" ,rust-parking-lot-0.12)
|
||||
("rust-thiserror" ,rust-thiserror-1))))))
|
||||
|
||||
(define-public rust-libgit2-sys-0.16
|
||||
(define-public rust-libgit2-sys-0.17
|
||||
(package
|
||||
(name "rust-libgit2-sys")
|
||||
(version "0.16.2+1.7.2")
|
||||
(version "0.17.0+1.8.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "libgit2-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1s149nkximw3n42925rp0jax1sf1zmf8gpcim2g9sp7fnkc2chgf"))
|
||||
(base32 "093jxfl2i9vxdlgf7vk9d040sjwy0nq4fid640y7qix6m0k26iqh"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin (delete-file-recursively "libgit2")))))
|
||||
|
@ -5884,7 +5884,7 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.")
|
|||
("rust-openssl-sys" ,rust-openssl-sys-0.9)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list libgit2-1.7 openssl zlib))
|
||||
(inputs (list libgit2-1.8 openssl zlib))
|
||||
(home-page "https://github.com/rust-lang/git2-rs")
|
||||
(synopsis "Native bindings to the libgit2 library")
|
||||
(description
|
||||
|
@ -5892,6 +5892,31 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.")
|
|||
library.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-libgit2-sys-0.16
|
||||
(package
|
||||
(inherit rust-libgit2-sys-0.17)
|
||||
(name "rust-libgit2-sys")
|
||||
(version "0.16.2+1.7.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "libgit2-sys" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1s149nkximw3n42925rp0jax1sf1zmf8gpcim2g9sp7fnkc2chgf"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(begin (delete-file-recursively "libgit2")))))
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cc" ,rust-cc-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-libssh2-sys" ,rust-libssh2-sys-0.3)
|
||||
("rust-libz-sys" ,rust-libz-sys-1)
|
||||
("rust-openssl-sys" ,rust-openssl-sys-0.9)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list libgit2-1.7 openssl zlib))))
|
||||
|
||||
(define-public rust-libgit2-sys-0.15
|
||||
(package
|
||||
(inherit rust-libgit2-sys-0.16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue