From patchwork Fri Dec 22 22:11:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57991 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1933E27BBE9; Fri, 22 Dec 2023 22:15:06 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 62AE527BBE2 for ; Fri, 22 Dec 2023 22:15:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGnnG-0001K4-Jq; Fri, 22 Dec 2023 17:14:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnnF-0001JK-Il for guix-patches@gnu.org; Fri, 22 Dec 2023 17:14:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGnnE-0008Jz-Vj for guix-patches@gnu.org; Fri, 22 Dec 2023 17:14:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGnnJ-0007Ax-OB; Fri, 22 Dec 2023 17:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67974] [PATCH 3/3] gnu: Add rust-databake-0.1. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 22 Dec 2023 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67974@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67974-submit@debbugs.gnu.org id=B67974.170328324427457 (code B ref 67974); Fri, 22 Dec 2023 22:15:01 +0000 Received: (at 67974) by debbugs.gnu.org; 22 Dec 2023 22:14:04 +0000 Received: from localhost ([127.0.0.1]:48031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGnmO-00078m-3g for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:14:04 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:59228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGnmL-00077n-NY for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 17:14:02 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rGnmB-005EcQ-6t for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 23:13:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=HJ7WYYGipr7FgqMzVy4inKoX12pfbmixS57SBPZYH+g=; b=PMn550lT1krzZEvRqPAlegM5yK luoMz7oFJIKUFDzUIMmS5OOnFvexovAMk47DCwCkDHzCs/Bt1lJ+uBocZMjmv+MCZChnq8lJQVlz9 fVXhTYzCDv0lr7/MYUAS/Mqoxh2WFoFvfvAFsjz7Duim5LUx3BjAIDgwt+1cL4bmUDLJvIaReBzcJ CAMY4L2drTq47WYvXpvk7sUItBIKXn6UyKL0AJzZVTfhkNyzZ+efdlJzLb794s16rHSuCzzd8MpG8 dxKx8v8KSpeDYXcmfEsogqobtjCxP4MnlD+JwgQ/XGlGKOKssVcsP3IM9p9+g0UEMC1CWvonZNAL+ X4vnPPkQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rGnmA-0005Ee-QP for 67974@debbugs.gnu.org; Fri, 22 Dec 2023 23:13:50 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rGnm2-00FMl0-1H; Fri, 22 Dec 2023 23:13:42 +0100 Date: Fri, 22 Dec 2023 17:11:44 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")