From af656e964d56a4a89cc33ff40f226ee1f730fabf Mon Sep 17 00:00:00 2001 From: Jakub Kądziołka Date: Mon, 3 Aug 2020 21:41:36 +0200 Subject: 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. --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') 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") -- cgit 1.4.1