[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
177/311: gnu: Add rust-simplelog-0.12.
From: |
guix-commits |
Subject: |
177/311: gnu: Add rust-simplelog-0.12. |
Date: |
Sat, 28 Oct 2023 16:38:59 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 62cc324e7649bc195c88aea01927791cca223fc7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 25 09:56:48 2023 +0300
gnu: Add rust-simplelog-0.12.
* gnu/packages/crates-io.scm (rust-simplelog-0.12): New variable.
(rust-simplelog-0.11): Inherit from rust-simplelog-0.12.
Change-Id: Ie101636088c7eed8ace722bc9ea53809c357f965
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++---------
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 47df745196..ff1c48939e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68771,8 +68771,39 @@ extensions.")
diff output.")
(license license:asl2.0)))
+(define-public rust-simplelog-0.12
+ (package
+ (name "rust-simplelog")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simplelog" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sa3hjdifxhcb9lnlg549fr2cc7vz89nygwbih2dbqsx3h20ivmc"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ (("1\\.1\\.\\*") "1.1"))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-paris" ,rust-paris-1)
+ ("rust-termcolor" ,rust-termcolor-1)
+ ("rust-time" ,rust-time-0.3))))
+ (home-page "https://github.com/drakulix/simplelog.rs")
+ (synopsis "Simple and easy-to-use logging facility for Rust's log crate")
+ (description
+ "This package provides a simple and easy-to-use logging facility for
Rust's
+@code{log} crate. It aims to be a maintainable, easy to integrate facility for
+small to medium sized project")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-simplelog-0.11
(package
+ (inherit rust-simplelog-0.12)
(name "rust-simplelog")
(version "0.11.1")
(source
@@ -68782,7 +68813,6 @@ diff output.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11h8q8lykc829f4bd5llw35p4qi9g6mp0mk1p281fq8qi48w1azc"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -68790,14 +68820,7 @@ diff output.")
("rust-chrono" ,rust-chrono-0.4)
("rust-log" ,rust-log-0.4)
("rust-paris" ,rust-paris-1)
- ("rust-termcolor" ,rust-termcolor-1))))
- (home-page "https://github.com/drakulix/simplelog.rs")
- (synopsis "Simple and easy-to-use logging facility for Rust's log crate")
- (description
- "This package provides a simple and easy-to-use logging facility for
Rust's
-@code{log} crate. It aims to be a maintainable, easy to integrate facility for
-small to medium sized project")
- (license (list license:expat license:asl2.0))))
+ ("rust-termcolor" ,rust-termcolor-1))))))
(define-public rust-simple-logger-2
(package
- 114/311: gnu: Add rust-gix-diff-0.30., (continued)
- 114/311: gnu: Add rust-gix-diff-0.30., guix-commits, 2023/10/28
- 117/311: gnu: Add rust-gix-config-value-0.12., guix-commits, 2023/10/28
- 125/311: gnu: Add rust-gix-0.45., guix-commits, 2023/10/28
- 118/311: gnu: Add rust-gix-config-0.23., guix-commits, 2023/10/28
- 134/311: gnu: Add rust-sval-ref-2., guix-commits, 2023/10/28
- 159/311: gnu: rust-uuid-0.5: Only test the library., guix-commits, 2023/10/28
- 157/311: gnu: rust-heapless-0.7: Update to 0.7.16., guix-commits, 2023/10/28
- 163/311: gnu: rust-num-bigint-0.3: Update to 0.3.3., guix-commits, 2023/10/28
- 178/311: gnu: Add rust-temporary-0.6., guix-commits, 2023/10/28
- 176/311: gnu: Add rust-sc-0.2., guix-commits, 2023/10/28
- 177/311: gnu: Add rust-simplelog-0.12.,
guix-commits <=
- 192/311: gnu: rust-tokio-sync-0.2: Skip tests., guix-commits, 2023/10/28
- 193/311: gnu: rust-tokio-signal-0.2: Update to 0.2.9., guix-commits, 2023/10/28
- 196/311: gnu: rust-tokio-native-tls-0.3: Update to 0.3.1., guix-commits, 2023/10/28
- 200/311: gnu: Add rust-anstream-0.6., guix-commits, 2023/10/28
- 208/311: gnu: Add rust-clap-lex-0.6., guix-commits, 2023/10/28
- 214/311: gnu: rust-piper-0.2: Fix build., guix-commits, 2023/10/28
- 218/311: gnu: rust-rcgen-0.8: Fix build., guix-commits, 2023/10/28
- 221/311: gnu: rust-serde-spanned-0.6: Update to 0.6.4., guix-commits, 2023/10/28
- 171/311: gnu: Add rust-io-uring-0.5., guix-commits, 2023/10/28
- 174/311: gnu: Add rust-rstest-macros-0.13., guix-commits, 2023/10/28