diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-21 00:00:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-04 19:29:16 +0100 |
commit | 6065b4cfa9b5e674a4e838fe472015f373dc76de (patch) | |
tree | 55eff6c760ad3e8edbebb193e98399ca171836fd /gnu | |
parent | aaf637e6850cd499402724be1ac44ca150448c4b (diff) |
gnu: Add rust-inotify-0.8.
* gnu/packages/crates-io.scm (rust-inotify-0.8): New variable.
(rust-inotify-0.7): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c51a4cad30..00eebfccf4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14138,8 +14138,39 @@ 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.8 + (package + (name "rust-inotify") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "inotify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m74znskinrvfcp0hczwwdxvc7kvnrrailngkivk1iwknfa0mpa6")))) + (build-system cargo-build-system) + (arguments + `(#: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-mio" ,rust-mio-0.6) + ("rust-tokio" ,rust-tokio-0.2)) + #: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))) + (define-public rust-inotify-0.7 (package + (inherit rust-inotify-0.8) (name "rust-inotify") (version "0.7.1") (source @@ -14151,7 +14182,6 @@ as both traits and pure functions acting on String types.") (sha256 (base32 "0byhq4x4b2rlbkmfrab5dni39wiq2ls1hv1nhggp7rla5inwc5j8")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -14163,12 +14193,7 @@ as both traits and pure functions acting on String types.") ("rust-tokio-io" ,rust-tokio-io-0.1) ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (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-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-inotify-0.6 (package |