diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-20 01:10:21 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-24 11:05:51 +0200 |
commit | b6d435dacbd046e9b00511b25e07c6badffcd5d8 (patch) | |
tree | 19ef30bdd12243a8ea8e2d28b5b07d4119456540 /gnu/packages | |
parent | a4a82cda205933d40c42f2e08ec74f5ac1887f6a (diff) | |
download | guix-patches-b6d435dacbd046e9b00511b25e07c6badffcd5d8.tar guix-patches-b6d435dacbd046e9b00511b25e07c6badffcd5d8.tar.gz |
gnu: Add rust-calloop-0.4.
* gnu/packages/crates-io.scm (rust-calloop-0.4): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 002eb458b9..7c8889c9ef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1500,6 +1500,39 @@ 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")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("=1.0.0") "^1.0.0")) + #t)))) + (build-system cargo-build-system) + (arguments + `(#: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 "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") |