gnu: Add rust-core-foundation-0.7.
* gnu/packages/crates-io.scm (rust-core-foundation-0.7): New variable. (rust-core-foundation-0.6): Inherit from rust-core-foundation-0.7.master
parent
7ac6d407f1
commit
bcdfbbc868
|
@ -3849,8 +3849,35 @@ numbers using the CORDIC method.")
|
||||||
intrinsics.")
|
intrinsics.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-core-foundation-0.7
|
||||||
|
(package
|
||||||
|
(name "rust-core-foundation")
|
||||||
|
(version "0.7.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "core-foundation" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"024qmb4c33ppy0fhj022x291nrlzl5n2gqs46n0cyxms85xl8qxl"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-chrono" ,rust-chrono-0.4)
|
||||||
|
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-uuid" ,rust-uuid-0.5))))
|
||||||
|
(home-page "https://github.com/servo/core-foundation-rs")
|
||||||
|
(synopsis "Bindings to Core Foundation for macOS")
|
||||||
|
(description "This package provides bindings to Core Foundation for
|
||||||
|
macOS.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-core-foundation-0.6
|
(define-public rust-core-foundation-0.6
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-core-foundation-0.7)
|
||||||
(name "rust-core-foundation")
|
(name "rust-core-foundation")
|
||||||
(version "0.6.4")
|
(version "0.6.4")
|
||||||
(source
|
(source
|
||||||
|
@ -3861,21 +3888,7 @@ intrinsics.")
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))
|
"0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
|
||||||
`(#:skip-build? #t ; only for macOS
|
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-chrono" ,rust-chrono-0.4)
|
|
||||||
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
|
|
||||||
("rust-libc" ,rust-libc-0.2)
|
|
||||||
("rust-uuid" ,rust-uuid-0.5))))
|
|
||||||
(home-page "https://github.com/servo/core-foundation-rs")
|
|
||||||
(synopsis
|
|
||||||
"Bindings to Core Foundation for macOS")
|
|
||||||
(description
|
|
||||||
"Bindings to Core Foundation for macOS.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-core-foundation-sys-0.7
|
(define-public rust-core-foundation-sys-0.7
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue