me
/
guix
Archived
1
0
Fork 0

gnu: rust-android-logger: Add 0.10.1.

* gnu/packages/crates-io.scm (rust-android-logger-0.10): New variable.
(rust-android-logger-0.8): Inherit from it.
master
Marius Bakke 2022-07-27 14:53:26 +02:00
parent 42a9a357c8
commit 596b9235c3
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 27 additions and 8 deletions

View File

@ -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