From patchwork Sun Feb 18 21:08:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 60622 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 94B8D27BBF1; Sun, 18 Feb 2024 21:15:00 +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,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 0CFFE27BBE2 for ; Sun, 18 Feb 2024 21:14:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rboSz-0007EL-KJ; Sun, 18 Feb 2024 16:12:53 -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 1rboSx-00079A-FZ for guix-patches@gnu.org; Sun, 18 Feb 2024 16:12:51 -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 1rboSx-0007RF-6S for guix-patches@gnu.org; Sun, 18 Feb 2024 16:12:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rboTH-0003WC-RY; Sun, 18 Feb 2024 16:13:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH 135/228] gnu: Add rust-konst-0.3. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 21:13:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Herman Rimm , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.170829075613219 (code B ref 69257); Sun, 18 Feb 2024 21:13:11 +0000 Received: (at 69257) by debbugs.gnu.org; 18 Feb 2024 21:12:36 +0000 Received: from localhost ([127.0.0.1]:39123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboSh-0003R3-M1 for submit@debbugs.gnu.org; Sun, 18 Feb 2024 16:12:36 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:49173 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rboRf-0003Fp-0y for 69257@debbugs.gnu.org; Sun, 18 Feb 2024 16:11:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708290663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H5hCHBecqzc0/aolGBx5KoHb3+O6qd/Lvv4cV6+f7Qo=; b=KXaHExgBRGl+UkjPmq0wpIh83y0N4S/K2WkccvltwXP4rqPy0aLedjjj5vMTXRj0OanTlW MwzuCVSXoRTLShwEMHfQ0tfL56MO56MjF6sn2sPVE4zq0isho26OJ3zq2pyDuKFbo0JeuH 2sOx+rZTPvcm1TSXQ3dScrhiu+K5zrmYC9Nr0XHiygLV6YFfMYMh4Qm6+SOqu22W7m9xfh Y23yrKBTXzJkW03lOCTWWAQXepzf5cCe0QPev6f5YKlCUsitpkzCO9AZX9yww6p2reRWEe i8hOKgJFM3XXbKKxQqUzLtyAIC7DhX8uhMh4JD1cen9tENggHWznvtQJEKGt2g== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 68548e59 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 18 Feb 2024 21:11:03 +0000 (UTC) Date: Sun, 18 Feb 2024 22:08:25 +0100 Message-ID: <33a6946b8654dcbde26f6438221f31110a6f21a7.1708288187.git.herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-konst-0.3): Add variable. (rust-konst-0.2): Move and inherit from rust-konst-0.3. Change-Id: I74632d7cd34a03e28b6dfdc2a77f222338fea935 --- gnu/packages/crates-io.scm | 68 ++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 24 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 706b48e8cc..8f15fdfba6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29414,30 +29414,6 @@ (define-public rust-koibumi-base32-0.0.2 (description "This package provides a Base32 encoder/decoder library.") (license license:gpl3+))) -(define-public rust-konst-0.2 - (package - (name "rust-konst") - (version "0.2.19") - (source - (origin - (method url-fetch) - (uri (crate-uri "konst" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2) - ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2) - ("rust-trybuild" ,rust-trybuild-1)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/rodrimati1992/konst/") - (synopsis - "Const equivalents of std functions, compile-time comparison, and parsing") - (description - "Const equivalents of std functions, compile-time comparison, and parsing.") - (license license:zlib))) - (define-public rust-human-format-1 (package (name "rust-human-format") @@ -33070,6 +33046,50 @@ (define-public rust-khronos-api-3 "The Khronos XML API Registry, exposed as byte string constants.") (license license:asl2.0))) +(define-public rust-konst-0.3 + (package + (name "rust-konst") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "konst" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c7xjlryaac1j6ib30lq2hyi8g2zrdl17xjwia6ly9yl9662lwcd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-panic" ,rust-const-panic-0.2) + ("rust-konst-kernel" ,rust-konst-kernel-0.3) + ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.3) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-typewit" ,rust-typewit-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis "Const std functions, compile-time comparison and parsing") + (description + "This package provides Const equivalents of std functions, compile- +time comparison, and parsing.") + (license license:zlib))) + +(define-public rust-konst-0.2 + (package + (inherit rust-konst-0.3) + (name "rust-konst") + (version "0.2.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "konst" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk")))) + (arguments + `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2) + ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-konst-kernel-0.3 (package (name "rust-konst-kernel")