unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67381] [PATCH 10/10] gnu: Add rust-wchisp 0.2.2
@ 2023-11-22 14:31 gravitydiv10 via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: gravitydiv10 via Guix-patches via @ 2023-11-22 14:31 UTC (permalink / raw)
  To: 67381; +Cc: gravitydiv10@protonmail.com

From 23baa78377cda046c12cd4563d048727d869ea72 Mon Sep 17 00:00:00 2001
Message-ID: <23baa78377cda046c12cd4563d048727d869ea72.1700662237.git.gravitydiv10@protonmail.com>
In-Reply-To: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10@protonmail.com>
References: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10@protonmail.com>
From: Lu <gravitydiv10@protonmail.com>
Date: Wed, 22 Nov 2023 22:09:56 +0800
Subject: [PATCH 10/10] gnu: Add rust-wchisp 0.2.2

* gnu/packages/crates-io.scm (rust-wchisp-0.2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7904795af6..09034d03da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82121,6 +82121,42 @@ (define-public rust-watchexec-1
 modifications.")
     (license license:asl2.0)))
 
+(define-public rust-wchisp-0.2
+  (package
+    (name "rust-wchisp")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wchisp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1n5il94d6v4gvq0xjsdbjgdgfa769iglp395v0h3l1yjngb8b53f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bitfield" ,rust-bitfield-0.14)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-hex" ,rust-hex-0.4)
+                       ("rust-hxdmp" ,rust-hxdmp-0.2)
+                       ("rust-ihex" ,rust-ihex-3)
+                       ("rust-indicatif" ,rust-indicatif-0.17)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-object" ,rust-object-0.30)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rusb" ,rust-rusb-0.9)
+                       ("rust-scroll" ,rust-scroll-0.11)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+                       ("rust-simplelog" ,rust-simplelog-0.12))))
+    (home-page "https://github.com/ch32-rs/wchisp")
+    (synopsis
+     "Command-line implementation of WCHISPTool, for flashing ch32 MCUs")
+    (description
+     "This package provides a command-line implementation of WCHISPTool, for flashing
+ch32 MCUs")
+    (license license:gpl2)))
+
 (define-public rust-wl-clipboard-rs-0.4
   (package
     (name "rust-wl-clipboard-rs")
-- 
2.41.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-22 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22 14:31 [bug#67381] [PATCH 10/10] gnu: Add rust-wchisp 0.2.2 gravitydiv10 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).