[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/33: gnu: Add rust-simplelog-0.12.
From: |
guix-commits |
Subject: |
22/33: gnu: Add rust-simplelog-0.12. |
Date: |
Wed, 25 Oct 2023 05:36:44 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 7e723b9841ed94d48c093a50c4448ed7d5c49572
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
- 08/33: gnu: rust-num-bigint-0.3: Update to 0.3.3., (continued)
- 08/33: gnu: rust-num-bigint-0.3: Update to 0.3.3., guix-commits, 2023/10/25
- 15/33: gnu: Add rust-iai-0.1., guix-commits, 2023/10/25
- 13/33: gnu: rust-chacha20poly1305-0.9: Update to 0.9.1., guix-commits, 2023/10/25
- 19/33: gnu: Add rust-rstest-macros-0.13., guix-commits, 2023/10/25
- 18/33: gnu: Add rust-open-3., guix-commits, 2023/10/25
- 20/33: gnu: Add rust-rstest-0.13., guix-commits, 2023/10/25
- 17/33: gnu: Add rust-lru-0.9., guix-commits, 2023/10/25
- 27/33: gnu: Add rust-sqlite3-sys-0.15., guix-commits, 2023/10/25
- 26/33: gnu: Add rust-tokio-uring-0.4., guix-commits, 2023/10/25
- 30/33: gnu: alfis: Update to 0.8.4., guix-commits, 2023/10/25
- 22/33: gnu: Add rust-simplelog-0.12.,
guix-commits <=
- 32/33: gnu: rust-proptest-derive-0.1: Skip tests., guix-commits, 2023/10/25
- 33/33: gnu: rust-git2-0.9: Update to 0.9.2., guix-commits, 2023/10/25
- 23/33: gnu: Add rust-temporary-0.6., guix-commits, 2023/10/25
- 24/33: gnu: Add rust-thread-priority-0.10., guix-commits, 2023/10/25
- 28/33: gnu: Add rust-sqlite3-src-0.5., guix-commits, 2023/10/25
- 21/33: gnu: Add rust-sc-0.2., guix-commits, 2023/10/25