gnu: Add rust-libgit2-sys-0.10.

* gnu/packages/crates-io.scm (rust-libgit2-sys-0.10): New variable.
(rust-libgit2-sys-0.8): Inherit from rust-libgit2-sys-0.10.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2020-01-15 07:24:27 -08:00 committed by Efraim Flashner
parent 91b1ff7000
commit ad30f7dc01
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5054,10 +5054,10 @@ values of all the exported APIs match the platform that libc is compiled for.")
(license (list license:expat (license (list license:expat
license:asl2.0)))) license:asl2.0))))
(define-public rust-libgit2-sys-0.8 (define-public rust-libgit2-sys-0.10
(package (package
(name "rust-libgit2-sys") (name "rust-libgit2-sys")
(version "0.8.2") (version "0.10.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -5065,7 +5065,7 @@ values of all the exported APIs match the platform that libc is compiled for.")
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".crate"))
(sha256 (sha256
(base32 (base32
"0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) )) "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))))
(build-system cargo-build-system) (build-system cargo-build-system)
;(arguments ;(arguments
; `(#:phases ; `(#:phases
@ -5092,6 +5092,20 @@ values of all the exported APIs match the platform that libc is compiled for.")
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-libgit2-sys-0.8
(package
(inherit rust-libgit2-sys-0.10)
(name "rust-libgit2-sys")
(version "0.8.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "libgit2-sys" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc"))))))
(define-public rust-libgit2-sys-0.7 (define-public rust-libgit2-sys-0.7
(package (package
(inherit rust-libgit2-sys-0.8) (inherit rust-libgit2-sys-0.8)
@ -5104,8 +5118,7 @@ values of all the exported APIs match the platform that libc is compiled for.")
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".crate"))
(sha256 (sha256
(base32 (base32
"1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28")))) "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))))
(build-system cargo-build-system)))
(define-public rust-libloading-0.5 (define-public rust-libloading-0.5
(package (package