all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 68780@debbugs.gnu.org
Subject: [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23.
Date: Fri, 26 Jan 2024 20:43:11 +0100	[thread overview]
Message-ID: <87a5ophg8p.fsf@troyfigiel.com> (raw)
In-Reply-To: <87bk95hgik.fsf@troyfigiel.com>

* gnu/packages/crates-io.scm (rust-flatbuffers-23): New variable.
(rust-flatbuffers-2): Inherit from rust-flatbuffers-23.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c910c00260..6471ab27bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22631,8 +22631,32 @@ (define-public rust-flamer-0.4
      "A procedural macro to insert @code{flame::start_guard(_)} calls.")
     (license license:asl2.0)))
 
+(define-public rust-flatbuffers-23
+  (package
+    (name "rust-flatbuffers")
+    (version "23.5.26")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "flatbuffers" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h46mg8yb9igda4ff5dajkzc6k5mf4ix472asqb8rmv24ki57b2d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-rustc-version" ,rust-rustc-version-0.4)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://flatbuffers.dev/")
+    (synopsis "FlatBuffers Rust serialization library")
+    (description
+     "This crates provides FlatBuffers runtime serialization library.")
+    (license license:asl2.0)))
+
 (define-public rust-flatbuffers-2
   (package
+    (inherit rust-flatbuffers-23)
     (name "rust-flatbuffers")
     (version "2.0.0")
     (source
@@ -22642,18 +22666,12 @@ (define-public rust-flatbuffers-2
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
         ("rust-smallvec" ,rust-smallvec-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://google.github.io/flatbuffers/")
-    (synopsis "FlatBuffers Rust serialization library")
-    (description
-     "This crates provides FlatBuffers runtime serialization library.")
-    (license license:asl2.0)))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-flate2-1
   (package
-- 
2.42.0





  reply	other threads:[~2024-01-28 11:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
2024-01-26 19:43 ` Troy Figiel [this message]
2024-01-26 19:54 ` [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build Troy Figiel
2024-01-27 14:58 ` [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47 Troy Figiel
2024-01-27 15:01 ` [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47 Troy Figiel
2024-01-27 15:05 ` [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47 Troy Figiel
2024-01-27 15:12 ` [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2 Troy Figiel
2024-01-27 15:20 ` [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8 Troy Figiel
2024-01-27 15:27 ` [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47 Troy Figiel
2024-01-27 15:39 ` [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47 Troy Figiel
2024-01-27 15:43 ` [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47 Troy Figiel
2024-01-27 15:49 ` [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47 Troy Figiel
2024-01-27 15:53 ` [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7 Troy Figiel
2024-01-27 16:09 ` [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47 Troy Figiel
2024-01-28  8:25 ` [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47 Troy Figiel
2024-01-28  8:38 ` [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47 Troy Figiel
2024-01-28  8:45 ` [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47 Troy Figiel
2024-01-28  8:50 ` [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47 Troy Figiel
2024-01-28  8:58 ` [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47 Troy Figiel
2024-01-28  9:14 ` [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47 Troy Figiel
2024-02-11 13:47 ` bug#68780: [PATCH 00/19] " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5ophg8p.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=68780@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.