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

* gnu/packages/crates-io.scm (rust-fsevent-2, rust-fsevent-0.4,
rust-fsevent-sys-4, rust-fsevent-sys-3, rust-fsevent-sys-2): Move from
here ...
* gnu/packages/crates-apple.scm: ... to here.

Change-Id: I7455ed5e15d312dcf2cc57c1e27ae8caaa47ed8c
This commit is contained in:
Efraim Flashner 2024-01-04 20:51:10 +02:00
parent aa60ba2d4a
commit 2defccbb6c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 116 additions and 115 deletions

View file

@ -4,6 +4,7 @@
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;;
;;; This file is part of GNU Guix.
@ -607,6 +608,121 @@ (define-public rust-dispatch-0.1
"019nzy993hxaiazcdnayx3csv2iki34i535asw11ki96hakkrs84"))))
(arguments '(#:tests? #f)))) ; Tests only run on Mac.
(define-public rust-fsevent-2
(package
(name "rust-fsevent")
(version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0qsylfbhgha319q6a8yvkznbm3hf47gy3y8nq82qijcm5hh4gwwp"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-fsevent-sys" ,rust-fsevent-sys-3))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)
("rust-time" ,rust-time-0.2))))
(home-page "https://github.com/octplane/fsevent-rust")
(synopsis "Rust bindings to the fsevent-sys macOS API")
(description
"This package provides Rust bindings to the @code{fsevent-sys} macOS API
for file changes notifications")
(license license:expat)))
(define-public rust-fsevent-0.4
(package
(inherit rust-fsevent-2)
(name "rust-fsevent")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1djxnc2fmv265xqf1iyfz56smh13v9r1p0w9125wjg6k3fyx3dss"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only available on macOS
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-fsevent-sys" ,rust-fsevent-sys-2))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3)
("rust-time" ,rust-time-0.1))))))
(define-public rust-fsevent-sys-4
(package
(name "rust-fsevent-sys")
(version "4.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1liz67v8b0gcs8r31vxkvm2jzgl9p14i78yfqx81c8sdv817mvkn"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys")
(synopsis "Rust bindings to the fsevent macOS API")
(description "This package provides Rust bindings to the @code{fsevent}
macOS API for file changes notifications")
(license license:expat)))
(define-public rust-fsevent-sys-3
(package
(inherit rust-fsevent-sys-4)
(name "rust-fsevent-sys")
(version "3.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))))
(define-public rust-fsevent-sys-2
(package
(inherit rust-fsevent-sys-3)
(name "rust-fsevent-sys")
(version "2.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"18246vxk7rqn52m0sfrhivxq802i34p2wqqx5zsa0pamjj5086zl"))))
(arguments
`(#:skip-build? #t ; only available on macOS
#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
(define-public rust-objc-0.2
(package
(name "rust-objc")

View file

@ -26438,121 +26438,6 @@ (define-public rust-fs2-0.2
"This package provides cross-platform file locks and file duplication.")
(license (list license:expat license:asl2.0))))
(define-public rust-fsevent-2
(package
(name "rust-fsevent")
(version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0qsylfbhgha319q6a8yvkznbm3hf47gy3y8nq82qijcm5hh4gwwp"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-fsevent-sys" ,rust-fsevent-sys-3))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)
("rust-time" ,rust-time-0.2))))
(home-page "https://github.com/octplane/fsevent-rust")
(synopsis "Rust bindings to the fsevent-sys macOS API")
(description
"This package provides Rust bindings to the @code{fsevent-sys} macOS API
for file changes notifications")
(license license:expat)))
(define-public rust-fsevent-0.4
(package
(inherit rust-fsevent-2)
(name "rust-fsevent")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1djxnc2fmv265xqf1iyfz56smh13v9r1p0w9125wjg6k3fyx3dss"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; only available on macOS
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-fsevent-sys" ,rust-fsevent-sys-2))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3)
("rust-time" ,rust-time-0.1))))))
(define-public rust-fsevent-sys-4
(package
(name "rust-fsevent-sys")
(version "4.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1liz67v8b0gcs8r31vxkvm2jzgl9p14i78yfqx81c8sdv817mvkn"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys")
(synopsis "Rust bindings to the fsevent macOS API")
(description "This package provides Rust bindings to the @code{fsevent}
macOS API for file changes notifications")
(license license:expat)))
(define-public rust-fsevent-sys-3
(package
(inherit rust-fsevent-sys-4)
(name "rust-fsevent-sys")
(version "3.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))))))
(define-public rust-fsevent-sys-2
(package
(inherit rust-fsevent-sys-3)
(name "rust-fsevent-sys")
(version "2.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "fsevent-sys" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"18246vxk7rqn52m0sfrhivxq802i34p2wqqx5zsa0pamjj5086zl"))))
(arguments
`(#:skip-build? #t ; only available on macOS
#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
(define-public rust-fslock-0.2
(package
(name "rust-fslock")