diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 20:51:10 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:26 +0200 |
commit | 2defccbb6c6eba91e2fbf13fadac3f20f345d7e7 (patch) | |
tree | 4fc2c4b1875c7af652b5a604bd8763c0d80a0e86 /gnu | |
parent | aa60ba2d4a1a83533973fd90243ad5502b49d7a7 (diff) | |
download | guix-2defccbb6c6eba91e2fbf13fadac3f20f345d7e7.tar.gz guix-2defccbb6c6eba91e2fbf13fadac3f20f345d7e7.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-apple.scm | 116 | ||||
-rw-r--r-- | gnu/packages/crates-io.scm | 115 |
2 files changed, 116 insertions, 115 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index ec07f96883..c747c533fa 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -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 @@ Central Dispatch.") "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") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 81c338a976..6b45ebc43e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26438,121 +26438,6 @@ with the filesystem.") "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") |