diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7db98e7456..2d0c441d4a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2794,8 +2794,34 @@ applications.") (base32 "0klq7cp4lm74gjf9p12zdjcr159blbicrfvadmaqvfxbi8njw1dq")))) (arguments `(#:skip-build? #true)))) ;XXX: Android only +(define-public rust-android-logger-0.10 + (package + (name "rust-android-logger") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "android_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rigzgkaik2y7pvsilpjdy19mdq1kkamw2rdf9fjkvb5hfqhkvfr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-android-log-sys" ,rust-android-log-sys-0.2) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/Nercury/android_logger-rs") + (synopsis "Logging implementation for @code{log}") + (description + "This library is a drop-in replacement for @code{env_logger}. Instead, +it outputs messages to Android's logcat.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-logger-0.8 (package + (inherit rust-android-logger-0.10) (name "rust-android-logger") (version "0.8.6") (source @@ -2805,19 +2831,12 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0kj8i03fqqwxd803hrk27j2399v27ajjj9zxi2nnyml0s4nm9gcc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-android-log-sys" ,rust-android-log-sys-0.1) ("rust-env-logger" ,rust-env-logger-0.7) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4)))) - (home-page "https://github.com/Nercury/android_logger-rs") - (synopsis "Logging implementation for @code{log}") - (description - "This library is a drop-in replacement for @code{env_logger}. Instead, -it outputs messages to Android's logcat.") - (license (list license:expat license:asl2.0)))) + ("rust-log" ,rust-log-0.4)))))) (define-public rust-ansi-parser-0.6 (package