me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-fsevent-0.4.

* gnu/packages/crates-io.scm (rust-fsevent-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Valentin Ignatev 2020-01-19 15:47:14 +03:00 committed by Efraim Flashner
parent f13ddb46b5
commit 7473d73ed0
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 29 additions and 0 deletions

View File

@ -4407,6 +4407,35 @@ process and much more.")
"This package provides cross-platform file locks and file duplication.")
(license (list license:expat license:asl2.0))))
(define-public rust-fsevent-0.4
(package
(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))))
(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-sys-2
(package
(name "rust-fsevent-sys")