summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-19 19:50:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-23 22:23:10 +0200
commit85725ed7b81c40a4140e3675b864dd1ff6901753 (patch)
tree0005923dcf71df498f7334dfe78dfcaca8259e20
parentc0312f94759cd352c74f753730a5610083c5eacc (diff)
downloadguix-85725ed7b81c40a4140e3675b864dd1ff6901753.tar.gz
gnu: Add rust-inotify-0.6.
* gnu/packages/crates-io.scm (rust-inotify-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8d880cec5c..9e25825962 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6305,6 +6305,37 @@ renamed to indexmap.")
     (description "This package provides DEFLATE decoding.")
     (license license:expat)))
 
+(define-public rust-inotify-0.6
+  (package
+    (name "rust-inotify")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "inotify" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0627k5aq44knjlrc09hl017nxap3svpl79przf26y3ciycwlbda0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-futures" ,rust-futures-0.1)
+        ("rust-inotify-sys" ,rust-inotify-sys-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mio" ,rust-mio-0.6)
+        ("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)))
+
 (define-public rust-inotify-sys-0.1
   (package
     (name "rust-inotify-sys")