diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-05 16:34:21 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:35 +0200 |
commit | bd3923e1efa375ce8d45c27b2ce00efa2d89fea4 (patch) | |
tree | b40472ef91f9a9a7646b9548958f5dfbd76ca747 /gnu/packages | |
parent | abafb986cf1aec972beed750daa31145a1fe0a3c (diff) | |
download | guix-bd3923e1efa375ce8d45c27b2ce00efa2d89fea4.tar.gz |
gnu: Add rust-android-logger-0.11.
* gnu/packages/crates-io.scm (rust-android-logger-0.11): New variable. (rust-android-logger-0.10): Inherit from rust-android-logger-0.11. Change-Id: If667c0aaf700aa272da7c39d5aaeff43c37a4ec8
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e08f7b20ae..08457a26e5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3408,8 +3408,33 @@ applications on Android with NativeActivity or GameActivity.") (base32 "0klq7cp4lm74gjf9p12zdjcr159blbicrfvadmaqvfxbi8njw1dq")))) (arguments `(#:skip-build? #true)))) ;XXX: Android only +(define-public rust-android-logger-0.11 + (package + (name "rust-android-logger") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "android-logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fl8ix7q1cj73lzy6xcwyrqwpvnx5aaxszawidivv9ra4h6bh6c6")))) + (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.10) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/rust-mobile/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.10 (package + (inherit rust-android-logger-0.11) (name "rust-android-logger") (version "0.10.1") (source @@ -3419,19 +3444,12 @@ applications on Android with NativeActivity or GameActivity.") (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)))) + ("rust-log" ,rust-log-0.4)))))) (define-public rust-android-logger-0.8 (package |