Subject: [bug#67378] [PATCH 07/10] gnu: Add rust-ihex 3.0.0

From: gravitydiv10 <[email-masked]>
Date: Wed, 22 Nov 2023 14:27:33 +0000

>From e959a0467aecbe8103e2bf0248270d41da202db6 Mon Sep 17 00:00:00 2001
Message-ID: <e959[email-masked]>
In-Reply-To: <a61e[email-masked]>
References: <a61e[email-masked]>
From: Lu <[email-masked]>
Date: Wed, 22 Nov 2023 22:01:55 +0800
Subject: [PATCH 07/10] gnu: Add rust-ihex 3.0.0

* gnu/packages/crates-io.scm (rust-ihex-3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index abd2f3bd5f..f74fc6d19c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33475,6 +33475,29 @@ (define-public rust-ignore-0.4
 ignore files such as @file{.gitignore} against file paths.")
     (license (list license:unlicense license:expat))))
 
+(define-public rust-ihex-3
+  (package
+    (name "rust-ihex")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ihex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wlzfyy5fsqgpki5vdapw0jjczqdm6813fgd3661wf5vfi3phnin"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "http://github.com/martinmroz/ihex")
+    (synopsis
+     "Rust library for parsing and generating Intel HEX (or IHEX) objects")
+    (description
+     "This package provides a Rust library for parsing and generating Intel HEX (or
+IHEX) objects.  This format is commonly used for representing compiled program
+code and data to be loaded into a microcontroller, flash memory or ROM.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-im-rc-15
   (package
     (name "rust-im-rc")
-- 
2.41.0