GNU bug report logs - #75127
[PATCH 00/67] rust-team: Add cargo-nextest

Previous Next

Package: guix-patches;

Reported by: Jordan Moore <lockbox <at> struct.foo>

Date: Thu, 26 Dec 2024 23:02:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> friendly-machines.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jordan Moore <lockbox <at> struct.foo>
To: 75127 <at> debbugs.gnu.org
Cc: Jordan Moore <lockbox <at> struct.foo>, Divya Ranjan Pattanaik <divya <at> subvertising.org>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#75127] [PATCH v6 37/44] gnu: Add rust-console-api-0.8.
Date: Fri, 10 Jan 2025 20:57:49 -0500
* gnu/packages/crates-io.scm (rust-console-api-0.8): New variable.

Change-Id: Ib63704d92bed9fef827b9f976e7e9a9979bbf0b2
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f6d1ed688..256a8dfb0c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15199,6 +15199,39 @@ (define-public rust-console-0.7
      "This package provides a terminal and console abstraction for Rust.")
     (license license:expat)))
 
+(define-public rust-console-api-0.8
+  (package
+    (name "rust-console-api")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "console-api" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mr8xkzcb7mrcm2ca0ah1sj21rhpk207klscnql884hdrdg76c40"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--"
+         ;; test will fail if source is not commited into a git repo,
+         ;; using the git clone instead of crate-uri for crate source
+         ;; requires pulling in all the dependencies for the Cargo.lock
+         "--skip=bootstrap")
+       #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-prost" ,rust-prost-0.13)
+                       ("rust-prost-build" ,rust-prost-build-0.13)
+                       ("rust-prost-types" ,rust-prost-types-0.13)
+                       ("rust-tonic" ,rust-tonic-0.12)
+                       ("rust-tonic-build" ,rust-tonic-build-0.12)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1))))
+    (native-inputs (list protobuf git))
+    (home-page "https://github.com/tokio-rs/console/blob/main/console-api")
+    (synopsis "Protobuf wire format bindings for the Tokio console.")
+    (description "This package provides Protobuf wire format bindings for
+the Tokio console.")
+    (license license:expat)))
+
 (define-public rust-console-error-panic-hook-0.1
   (package
     (name "rust-console-error-panic-hook")
-- 
2.46.0





This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.