From patchwork Thu Jan 4 05:51:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 58346 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 D7CC127BBEA; Thu, 4 Jan 2024 05:53:14 +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=ham 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 47D5927BBE2 for ; Thu, 4 Jan 2024 05:53:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLGf5-0002ho-SU; Thu, 04 Jan 2024 00:52:59 -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 1rLGf4-0002hg-Oe for guix-patches@gnu.org; Thu, 04 Jan 2024 00:52:58 -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 1rLGf4-0003GP-Fu for guix-patches@gnu.org; Thu, 04 Jan 2024 00:52:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLGf7-000865-P1; Thu, 04 Jan 2024 00:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67974] [PATCH v3REVISION 3/3] gnu: Add rust-databake-0.1. References: In-Reply-To: Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 04 Jan 2024 05:53: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 moreinfo To: 67974@debbugs.gnu.org Cc: Jaeme Sifat , maxim.cournoyer@gmail.com, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67974-submit@debbugs.gnu.org id=B67974.170434757831113 (code B ref 67974); Thu, 04 Jan 2024 05:53:01 +0000 Received: (at 67974) by debbugs.gnu.org; 4 Jan 2024 05:52:58 +0000 Received: from localhost ([127.0.0.1]:53515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLGf3-00085k-Gb for submit@debbugs.gnu.org; Thu, 04 Jan 2024 00:52:57 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:52968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLGf2-00085X-5M for 67974@debbugs.gnu.org; Thu, 04 Jan 2024 00:52:56 -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 1rLGes-001XNm-EN for 67974@debbugs.gnu.org; Thu, 04 Jan 2024 06:52:46 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From; bh=c5g1faiACfVF5gUWaq0pvLeHzxV26hxOxzCfM6YzgmI=; b=nH4uUa jLvr8xchXNFJT9COp2W/lbMwMAFoXn5xGMq+kbhhwzgZS9jxXEVoL1IFGP+9kes302eMURoq5AqAu GGEd1Owvg1rQ8DO0ALQc8WcjD+iYwS+WpuNbibbAXxMt5Y6/CqShVEDU17o80C42wbmOW/+1zDxBs GsB9vOAEFJQIG+zuiH2or+sLdq1tSI5VqJiLOn4b+5Syl2QK2XRro3v25VbuuOkvEd47duPEEj6Px MBR6Jd19/IUKScIQLuiQZFnFKr4tBQIAPKB4UsRSKtPE97Cv+5dT2Wg3LbSaN2qoAtBqRreawk04u EfepYU8fptZNzh+tOp0/qDsEuQJw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rLGes-0005xg-3u; Thu, 04 Jan 2024 06:52:46 +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 1rLGee-00ByIy-Ix; Thu, 04 Jan 2024 06:52:32 +0100 Date: Thu, 4 Jan 2024 00:51:02 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 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 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) base-commit: 5844d18a8905ee3f62ccefe084dce4de61288fbf prerequisite-patch-id: c42391f13df64825499692ee5a0e142189d37112 prerequisite-patch-id: 5f9842aaaad434effd7d4a5da0207e738d73bfd8 -- 2.41.0 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 74321780ef..aba8711bc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18567,6 +18567,35 @@ (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)") ; Faulty module import of `bake.' + #: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 + "Library for representing structs as @code{const} expressions") + (description + "This package provides traits that let structs represent themselves as +@code{const} Rust expressions.") + (license license:unicode))) + (define-public rust-databake-derive-0.1 (package (name "rust-databake-derive")