[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/135: gnu: Add rust-k9-0.12.0.
From: |
guix-commits |
Subject: |
15/135: gnu: Add rust-k9-0.12.0. |
Date: |
Wed, 27 Mar 2024 04:54:41 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 72fe531a3ad6209354916e50fbb427364717b034
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:16 2024 +0100
gnu: Add rust-k9-0.12.0.
* gnu/packages/crates-io.scm (rust-k9-0.12): New variable.
(rust-k9-0.11): Inherit from rust-k9-0.12.
Change-Id: I67f9d7a9abb6fe0afd2cd43fc6eff995a37b5634
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 47 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 40 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index acb7753850..7ad83c0286 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34802,8 +34802,47 @@ passwords/credentials.")
"This package provides a Log macro for log's kv-unstable backend.")
(license (list license:expat license:asl2.0))))
+(define-public rust-k9-0.12
+ (package
+ (name "rust-k9")
+ (version "0.12.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "k9" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "056ngrvyla95qj737h7xjw5ja697h07mpw6pci5v3cb8bfxwx2q8"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ ;; k9@0.11.7 was yanked by upstream, provide 0.11.6.
+ (("0\\.11\\.7") "0.11.6"))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-colored" ,rust-colored-2)
+ ("rust-diff" ,rust-diff-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-terminal-size" ,rust-terminal-size-0.2))
+ #:cargo-development-inputs
+ (("rust-derive-builder" ,rust-derive-builder-0.9)
+ ("rust-k9" ,rust-k9-0.11)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1))))
+ (home-page "https://github.com/aaronabramov/k9")
+ (synopsis "Testing library")
+ (description "This package contains helper macros for writing unit tests.")
+ (license license:expat)))
+
(define-public rust-k9-0.11
(package
+ (inherit rust-k9-0.12)
(name "rust-k9")
(version "0.11.6")
(source (origin
@@ -34813,7 +34852,6 @@ passwords/credentials.")
(sha256
(base32
"1a8pxz6fygqzknxdlb4l835kqxgjk7snm4bjhhhn783r025vbp9j"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
@@ -34824,12 +34862,7 @@ passwords/credentials.")
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-regex" ,rust-regex-1)
("rust-syn" ,rust-syn-1)
- ("rust-term-size" ,rust-term-size-0.3))))
- (home-page "https://github.com/aaronabramov/k9")
- (synopsis "Testing library")
- (description
- "This package contains helper macros for writing unit tests.")
- (license license:expat)))
+ ("rust-term-size" ,rust-term-size-0.3))))))
(define-public rust-language-tags-0.3
(package
- branch rust-team updated (edcc8778fe -> 124da6a91e), guix-commits, 2024/03/27
- 01/135: gnu: rust: Update to 1.77.0., guix-commits, 2024/03/27
- 02/135: gnu: Add rust-bwrap-1., guix-commits, 2024/03/27
- 03/135: gnu: Add rust-easy-cast-0.5., guix-commits, 2024/03/27
- 07/135: gnu: Add rust-invalidstring-0.1., guix-commits, 2024/03/27
- 08/135: gnu: Add rust-asyncgit-0.25., guix-commits, 2024/03/27
- 09/135: gnu: Add rust-filetreelist-0.5., guix-commits, 2024/03/27
- 10/135: gnu: Add rust-gh-emoji-1., guix-commits, 2024/03/27
- 04/135: gnu: Add rust-git2-hooks-0.3., guix-commits, 2024/03/27
- 14/135: gnu: Add rust-wezterm-dynamic-0.2., guix-commits, 2024/03/27
- 15/135: gnu: Add rust-k9-0.12.0.,
guix-commits <=
- 30/135: gnu: Add rust-stability-0.1., guix-commits, 2024/03/27
- 24/135: gnu: Add rust-wezterm-color-types-0.2., guix-commits, 2024/03/27
- 32/135: gnu: Add rust-strum-0.26., guix-commits, 2024/03/27
- 34/135: gnu: Add rust-terminfo-0.8., guix-commits, 2024/03/27
- 44/135: gnu: Add rust-tui-textarea-0.4., guix-commits, 2024/03/27
- 43/135: gnu: Add rust-ratatui-0.26., guix-commits, 2024/03/27
- 47/135: gnu: Add rust-clap-lex-0.7., guix-commits, 2024/03/27
- 41/135: gnu: Add rust-derive-builder-0.13., guix-commits, 2024/03/27
- 36/135: gnu: Add rust-wezterm-color-types-0.3., guix-commits, 2024/03/27
- 42/135: gnu: Add rust-font8x8-0.3., guix-commits, 2024/03/27