From patchwork Thu Jan 4 05:45:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 58345 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 0C3D927BBE9; Thu, 4 Jan 2024 05:49:29 +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 0CC7227BBE2 for ; Thu, 4 Jan 2024 05:49:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLGbG-0002KZ-6J; Thu, 04 Jan 2024 00:49:02 -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 1rLGbD-0002KL-T0 for guix-patches@gnu.org; Thu, 04 Jan 2024 00:48:59 -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 1rLGbD-0006zT-Kk for guix-patches@gnu.org; Thu, 04 Jan 2024 00:48:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLGbG-0007z6-1f; Thu, 04 Jan 2024 00:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67974] [PATCH v2REVISION 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:49:02 +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.170434728830416 (code B ref 67974); Thu, 04 Jan 2024 05:49:02 +0000 Received: (at 67974) by debbugs.gnu.org; 4 Jan 2024 05:48:08 +0000 Received: from localhost ([127.0.0.1]:53500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLGaO-0007uT-0F for submit@debbugs.gnu.org; Thu, 04 Jan 2024 00:48:08 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:54998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLGaJ-0007so-2U for 67974@debbugs.gnu.org; Thu, 04 Jan 2024 00:48:07 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] 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 1rLGa7-001WjW-IA; Thu, 04 Jan 2024 06:47:51 +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=/ZY0720XsNfcap3RgAKGVvcIWbgAzzR+zYRvp/EQG9M=; b=gQwY2L kiUN0Brdl069/mUWEC09O05rcbJ0HZv2CwAhDmMhU9QccBsF86Thb0pVaRbqV/oJOqbXVUVC/H2rw M+1BfnZGJMoiBCQFxXU74eC/Cg1eviNArHQ3csjaRu1UaQVVsbU2JzaV39AKuToJuVLivyoL2W6PJ 4wIHAkzVbq5b6/H2dmEb3NogBUhhllLYsKI6IvJsslKnJGsFCdx/Eq+SP2rjyYcP9xV+UDQBw9YDQ /rnBGDWYNg1KeIuRSaGmD/JkZ3X4Xj+UBrvchJv5R45an4T7wgINVjYJSJ4qT1lCAj/U7uJ7/H06S 89Oo8N6hdw4SKwccIGjZnzps2Vsw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rLGa7-0001H2-8r; Thu, 04 Jan 2024 06:47:51 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rLGZn-00ALah-Ll; Thu, 04 Jan 2024 06:47:31 +0100 Date: Thu, 4 Jan 2024 00:45:26 -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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..b1f5717340 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18567,6 +18567,33 @@ (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 + `(;; Cannot find `bake' attribute/bad import. + #: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 "Library for representing structs as 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")