unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67974@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67974] [PATCH 3/3] gnu: Add rust-databake-0.1.
Date: Fri, 22 Dec 2023 17:11:44 -0500	[thread overview]
Message-ID: <b2883259639bd54669e70a46a2b05191d6c54829.1703281739.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703281739.git.jaeme@runbox.com>

* gnu/packages/crates-io.scm (rust-databake-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e0517e967..3eda22f0ee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20498,6 +20498,34 @@ (define-public rust-dashmap-3
              (setenv "RUSTC_BOOTSTRAP" "1")
              #t)))))))
 
+(define-public rust-databake-0.1
+  (package
+    (name "rust-databake")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "databake" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0flmvn7ym0sz6mkh5mg08vcbxa6kjiknhj9bpspww54lwrr5s5w2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=src/lib.rs - (line 27)"
+                            "--skip=src/lib.rs - (line 46)")
+       #:cargo-inputs (("rust-databake-derive" ,rust-databake-derive-0.1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1))))
+    (home-page "https://github.com/unicode-org/icu4x")
+    (synopsis
+     "Trait that lets structs represent themselves as (const) Rust
+expressions")
+    (description
+     "This package provides traits that let structs represent themselves
+as (const) Rust expressions.")
+    (license license:unicode)))
+
 (define-public rust-databake-derive-0.1
   (package
     (name "rust-databake-derive")
-- 
2.41.0





  parent reply	other threads:[~2023-12-22 22:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-22 21:49 [bug#67974] [PATCH 0/3 rust-team] gnu: Add rust-databake-0.1 Jaeme Sifat via Guix-patches via
2023-12-22 22:11 ` [bug#67974] [PATCH 1/3] gnu: Add rust-synstructure-0.13 Jaeme Sifat via Guix-patches via
2023-12-22 22:11 ` [bug#67974] [PATCH 2/3] gnu: Add rust-databake-derive-0.1 Jaeme Sifat via Guix-patches via
2024-01-04  3:51   ` [bug#67974] [PATCH 0/3 rust-team] gnu: Add rust-databake-0.1 Maxim Cournoyer
2023-12-22 22:11 ` Jaeme Sifat via Guix-patches via [this message]
2024-01-04  3:55   ` Maxim Cournoyer
2024-01-04  5:45 ` [bug#67974] [PATCH v2REVISION 3/3] " Jaeme Sifat via Guix-patches via
2024-01-04  5:51 ` [bug#67974] [PATCH v3REVISION " Jaeme Sifat via Guix-patches via
2024-01-10  4:28   ` [bug#67974] [PATCH 0/3 rust-team] " Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=b2883259639bd54669e70a46a2b05191d6c54829.1703281739.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=67974@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /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 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).