[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/31: gnu: Add rust-ascii-canvas-3.
From: |
guix-commits |
Subject: |
04/31: gnu: Add rust-ascii-canvas-3. |
Date: |
Sun, 31 Mar 2024 14:27:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 79c2c047f7574bd393cdd7b81f59cad04ad40905
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 16:53:00 2024 +0300
gnu: Add rust-ascii-canvas-3.
* gnu/packages/crates-graphics.scm (rust-ascii-canvas-3): New variable.
(rust-ascii-canvas-2): Inherit from rust-ascii-canvas-3.
Change-Id: I1fe83ce177ffb29ba1b909100dee0e0af85fe2c3
---
gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 8690608836..540cf23fd5 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -292,22 +292,21 @@ styles (bold, underline).")
(description "This package provides FFI bindings to aom.")
(license license:expat)))
-(define-public rust-ascii-canvas-2
+(define-public rust-ascii-canvas-3
(package
(name "rust-ascii-canvas")
- (version "2.0.0")
+ (version "3.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ascii-canvas" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
+ (base32 "1in38ziqn4kh9sw89ys4naaqzvvjscfs0m4djqbfq7455v5fq948"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ;; TODO: failes due to an unresolved import
- #:cargo-inputs
- (("rust-term" ,rust-term-0.5))))
+ `(#:cargo-inputs (("rust-term" ,rust-term-0.7))
+ #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1))))
(home-page "https://github.com/nikomatsakis/ascii-canvas")
(synopsis "Simple canvas for drawing lines and styled text and emitting to
the terminal")
@@ -317,6 +316,22 @@ the term library to handle the ANSI nonsense and hence it
works on Windows,
Mac, and Unix.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ascii-canvas-2
+ (package
+ (inherit rust-ascii-canvas-3)
+ (name "rust-ascii-canvas")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ascii-canvas" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
+ (arguments
+ `(#:skip-build? #t ;; TODO: failes due to an unresolved import
+ #:cargo-inputs (("rust-term" ,rust-term-0.5))))))
+
(define-public rust-ash-0.37
(package
(name "rust-ash")
- branch rust-team updated (1ad535dd9a -> 7c18e929d8), guix-commits, 2024/03/31
- 04/31: gnu: Add rust-ascii-canvas-3.,
guix-commits <=
- 02/31: gnu: rust-botan-0.10: Update to 0.10.7., guix-commits, 2024/03/31
- 06/31: gnu: Add rust-lalrpop-util-0.20., guix-commits, 2024/03/31
- 08/31: gnu: rust-win-crypto-ng-0.5: Update to 0.5.1., guix-commits, 2024/03/31
- 01/31: gnu: rust-botan-sys-0.10: Update to 0.10.5., guix-commits, 2024/03/31
- 07/31: gnu: Add rust-lalrpop-0.20., guix-commits, 2024/03/31
- 11/31: gnu: Add rust-dsa-0.6., guix-commits, 2024/03/31
- 13/31: gnu: Add rust-capnp-0.19., guix-commits, 2024/03/31
- 10/31: gnu: Add rust-pico-args-0.5., guix-commits, 2024/03/31
- 15/31: gnu: Add rust-capnp-rpc-0.19., guix-commits, 2024/03/31
- 16/31: gnu: Add rust-capnpc-0.19., guix-commits, 2024/03/31