From 5ea506b13949116fd177cd0412ec6df968e79bdf Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Mon, 20 Jan 2020 01:10:21 +0300 Subject: [PATCH 149/275] gnu: Add rust-calloop-0.4. * gnu/packages/crates-io.scm (rust-calloop-0.4): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3cae13a678..5e6ef6d92e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1446,6 +1446,34 @@ little-endian.") "The ChaCha family of stream ciphers.") (license (list license:asl2.0 license:expat)))) +(define-public rust-calloop-0.4 + (package + (name "rust-calloop") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "calloop" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0q6ic9lr0s86886mbyn4yncg68b2sykgwjf3iygdw01swmxhk8ks")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-mio" ,rust-mio-0.6) + ("rust-mio-extras" ,rust-mio-extras-2) + ("rust-nix" ,rust-nix-0.14)) + #:cargo-development-inputs + (("rust-lazycell" ,rust-lazycell-1.2)))) + (home-page "https://github.com/Smithay/calloop") + (synopsis "A callback-based event loop") + (description + "This package provides a callback-based event loop") + (license license:expat))) + (define-public rust-caps-0.3 (package (name "rust-caps") -- 2.25.0