summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2020-08-03 21:41:36 +0200
committerJakub Kądziołka <kuba@kadziolka.net>2020-08-04 15:57:35 +0200
commitaf656e964d56a4a89cc33ff40f226ee1f730fabf (patch)
treedc247bee06bc0cee683fa580832f8c8e701ed720 /gnu/packages/crates-io.scm
parent264a5a6ee2d8067e3f7779defb8dd218fb615f15 (diff)
downloadguix-af656e964d56a4a89cc33ff40f226ee1f730fabf.tar.gz
gnu: Add rust-inotify-0.7.
* gnu/packages/crates-io.scm (rust-inotify-0.7): New variable.
  (rust-inotify-0.6): Inherit from rust-inotify-0.7.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 30 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b52f5155ae..cf89bcfaa1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11383,10 +11383,10 @@ or numerical index.  A corresponding hash set type is also provided.")
     (description "This package provides DEFLATE decoding.")
     (license license:expat)))
 
-(define-public rust-inotify-0.6
+(define-public rust-inotify-0.7
   (package
     (name "rust-inotify")
-    (version "0.6.1")
+    (version "0.7.1")
     (source
      (origin
        (method url-fetch)
@@ -11395,7 +11395,7 @@ or numerical index.  A corresponding hash set type is also provided.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0627k5aq44knjlrc09hl017nxap3svpl79przf26y3ciycwlbda0"))))
+         "0byhq4x4b2rlbkmfrab5dni39wiq2ls1hv1nhggp7rla5inwc5j8"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -11404,6 +11404,7 @@ or numerical index.  A corresponding hash set type is also provided.")
         ("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.1)
         ("rust-tokio-io" ,rust-tokio-io-0.1)
         ("rust-tokio-reactor" ,rust-tokio-reactor-0.1))
        #:cargo-development-inputs
@@ -11414,6 +11415,32 @@ or numerical index.  A corresponding hash set type is also provided.")
 in Rust.")
     (license license:isc)))
 
+(define-public rust-inotify-0.6
+  (package
+    (inherit rust-inotify-0.7)
+    (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"))))
+    (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))))))
+
 (define-public rust-inotify-sys-0.1
   (package
     (name "rust-inotify-sys")