gnu: rust-core-foundation: Move to (gnu packages crates-apple).

* gnu/packages/crates-io.scm (rust-core-foundation-0.9,
rust-core-foundation-0.7, rust-core-foundation-0.6,
rust-core-foundation-0.2, rust-core-foundation-sys-0.8,
rust-core-foundation-sys-0.7, rust-core-foundation-sys-0.6,
rust-core-foundation-sys-0.2): Move from here ...
* gnu/packages/crates-apple.scm: ... to here.

Change-Id: I01b1ab7a3bef25d33ea3bd0edc33398acad882e8
This commit is contained in:
Efraim Flashner 2024-01-04 20:23:59 +02:00
parent 81d9082a0d
commit 0d66aa4a9d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 153 additions and 149 deletions

View file

@ -1,6 +1,9 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
;;; Copyright © 2023, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2023 Steve George <steve@futurile.net> ;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -171,3 +174,151 @@ (define-public rust-coreaudio-sys-0.2
(description (description
"Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.")
(license license:expat))) (license license:expat)))
(define-public rust-core-foundation-0.9
(package
(name "rust-core-foundation")
(version "0.9.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ii1ihpjb30fk38gdikm5wqlkmyr8k46fh4k2r8sagz5dng7ljhr"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;tests fail with a lot of "undefined reference"
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("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.7
(package
(inherit rust-core-foundation-0.9)
(name "rust-core-foundation")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp"))))
(arguments
`(#:skip-build? #t
#: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))))))
(define-public rust-core-foundation-0.6
(package
(inherit rust-core-foundation-0.7)
(name "rust-core-foundation")
(version "0.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))
(arguments
`(#:tests? #f
#: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))))))
(define-public rust-core-foundation-0.2
(package
(inherit rust-core-foundation-0.6)
(name "rust-core-foundation")
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
("rust-libc" ,rust-libc-0.2))))))
(define-public rust-core-foundation-sys-0.8
(package
(name "rust-core-foundation-sys")
(version "0.8.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13w6sdf06r0hn7bx2b45zxsg1mm2phz34jikm6xc5qrbr6djpsh6"))))
(build-system cargo-build-system)
(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-sys-0.7
(package
(inherit rust-core-foundation-sys-0.8)
(name "rust-core-foundation-sys")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1b5qfnnmg49sawwfsb0c0wbj81bqi7h7lh68pmhbidf0jjs1m9xk"))))))
(define-public rust-core-foundation-sys-0.6
(package
(inherit rust-core-foundation-sys-0.7)
(name "rust-core-foundation-sys")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))))
(define-public rust-core-foundation-sys-0.2
(package
(inherit rust-core-foundation-sys-0.6)
(name "rust-core-foundation-sys")
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))))

View file

@ -38,6 +38,7 @@ (define-module (gnu packages crates-graphics)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages assembly) #:use-module (gnu packages assembly)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages crates-apple)
#:use-module (gnu packages crates-io) #:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-windows) #:use-module (gnu packages crates-windows)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)

View file

@ -14837,154 +14837,6 @@ (define-public rust-core-arch-0.1
intrinsics.") intrinsics.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-core-foundation-0.9
(package
(name "rust-core-foundation")
(version "0.9.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ii1ihpjb30fk38gdikm5wqlkmyr8k46fh4k2r8sagz5dng7ljhr"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;tests fail with a lot of "undefined reference"
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("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.7
(package
(inherit rust-core-foundation-0.9)
(name "rust-core-foundation")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp"))))
(arguments
`(#:skip-build? #t
#: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))))))
(define-public rust-core-foundation-0.6
(package
(inherit rust-core-foundation-0.7)
(name "rust-core-foundation")
(version "0.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))
(arguments
`(#:tests? #f
#: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))))))
(define-public rust-core-foundation-0.2
(package
(inherit rust-core-foundation-0.6)
(name "rust-core-foundation")
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2)
("rust-libc" ,rust-libc-0.2))))))
(define-public rust-core-foundation-sys-0.8
(package
(name "rust-core-foundation-sys")
(version "0.8.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13w6sdf06r0hn7bx2b45zxsg1mm2phz34jikm6xc5qrbr6djpsh6"))))
(build-system cargo-build-system)
(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-sys-0.7
(package
(inherit rust-core-foundation-sys-0.8)
(name "rust-core-foundation-sys")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1b5qfnnmg49sawwfsb0c0wbj81bqi7h7lh68pmhbidf0jjs1m9xk"))))))
(define-public rust-core-foundation-sys-0.6
(package
(inherit rust-core-foundation-sys-0.7)
(name "rust-core-foundation-sys")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))))
(define-public rust-core-foundation-sys-0.2
(package
(inherit rust-core-foundation-sys-0.6)
(name "rust-core-foundation-sys")
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))))
(define-public rust-core-text-20 (define-public rust-core-text-20
(package (package
(name "rust-core-text") (name "rust-core-text")