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.
This commit is contained in:
Jakub Kądziołka 2020-08-03 21:41:36 +02:00
parent 264a5a6ee2
commit af656e964d
No known key found for this signature in database
GPG key ID: E315A75846131564

View file

@ -11383,8 +11383,41 @@ (define-public rust-inflate-0.4
(description "This package provides DEFLATE decoding.")
(license license:expat)))
(define-public rust-inotify-0.7
(package
(name "rust-inotify")
(version "0.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "inotify" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0byhq4x4b2rlbkmfrab5dni39wiq2ls1hv1nhggp7rla5inwc5j8"))))
(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" ,rust-tokio-0.1)
("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-0.6
(package
(inherit rust-inotify-0.7)
(name "rust-inotify")
(version "0.6.1")
(source
@ -11396,7 +11429,6 @@ (define-public rust-inotify-0.6
(sha256
(base32
"0627k5aq44knjlrc09hl017nxap3svpl79przf26y3ciycwlbda0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@ -11407,12 +11439,7 @@ (define-public rust-inotify-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)))
(("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-inotify-sys-0.1
(package