diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 20:53:10 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:08 +0200 |
commit | 83ed670443ff5fff4e9733ca8523de8ee4c80644 (patch) | |
tree | aa3a102ca8ff89f774b525331f819de99c31afe2 | |
parent | 76b21762c150787c2db3a104212582ca89cb1204 (diff) |
gnu: Add rust-inotify-0.9.
* gnu/packages/crates-io.scm (rust-inotify-0.9): New variable.
(rust-inotify-0.8): inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e68e0a05d8..937a5017cd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21028,8 +21028,40 @@ deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.") (license license:bsd-2))) +(define-public rust-inotify-0.9 + (package + (name "rust-inotify") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "inotify" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cs3xlkq3fnfca3mimvifazp01ayscinm07v38ifw0xin5f4fcdh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-inotify-sys" ,rust-inotify-sys-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/inotify-rs/inotify") + (synopsis "Idiomatic wrapper for inotify") + (description "This package provides an idiomatic wrapper for inotify +written in Rust.") + (license license:isc))) + (define-public rust-inotify-0.8 (package + (inherit rust-inotify-0.9) (name "rust-inotify") (version "0.8.3") (source @@ -21039,7 +21071,6 @@ as both traits and pure functions acting on String types.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1m74znskinrvfcp0hczwwdxvc7kvnrrailngkivk1iwknfa0mpa6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -21051,12 +21082,7 @@ as both traits and pure functions acting on String types.") #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-tokio" ,rust-tokio-0.2)))) - (home-page "https://github.com/inotify-rs/inotify") - (synopsis "Idiomatic wrapper for inotify") - (description "This package provides an idiomatic wrapper for inotify -written in Rust.") - (license license:isc))) + ("rust-tokio" ,rust-tokio-0.2)))))) (define-public rust-inotify-0.7 (package |