From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id eLbKM5acLmYaYwAAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Apr 2024 20:59:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eLbKM5acLmYaYwAAqHPOHw (envelope-from ) for ; Sun, 28 Apr 2024 20:59:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=rkwXtJBO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714330774; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dEQhNt1wugl5vMmLAPldArqOwqPEuYkUXJdi/NODQDE=; b=WVE/AvyWBdAfuis3WLNZE+pYPp0CsbmQeJGIxa9CPoc65flYE/nZYcOL/8YhwjX8VXs/Ak KOK+o9hDbhWwcCn/H4euP1kD4Rn4nfpRw2o7156uK6QsGqcfRgXp/03L0tM3gbqypWQqn3 gGqhQZ16kvyhzZRGhG705LhrWBIVBPeV7a1gnBX3vrLc6K/J/fj8Lmx7qQYGRfOsDemQs7 Xcdhw4MLpDRv90piNHJ5f1kZ1Prr+ELEegocHbu3UT8ZHdzc1rsfE22n0v7mrGKp5o1Sxx 5oJ6/yEjQSgyQnTfgixw8uftGhBsvG9FKTa7T0lz3e7LMAzwnEX9IC7y+Wi4lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=rkwXtJBO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714330774; a=rsa-sha256; cv=none; b=smLDYXvB+B61OWdjFWrzLm1nF7bDAl7bCOaAsUSFjE48e+oHvKLLuzX1oHlatt/c4T1wRF 5AK1KfdoUV/x0l/cEszQvqq2qIniWfi2H7gY1bwQWyqOoeTeZUXx2v6O6iryNRzp7DOP6m NLb6j2QX0PkpsPlbhRiN3hvy6uETGsyHPFUIkeVUpYa6f4iFsxvXUgd2FVLAx9dunU7FOh 2az8/i8HowCZN6mZc6jGMSvtZH8MicvUQOf7W1BJQE/uY5jeiLW8tyTVlyAhtwdmno2vqS JkxDEVprnbzCayomSK+LzvoUe5ZeShmhi/nknRMsjsCXIjg6zDbSdepHRIoRNQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B232F52996 for ; Sun, 28 Apr 2024 20:59:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s19je-0002jb-RY; Sun, 28 Apr 2024 14:58:50 -0400 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 1s19jc-0002h1-Tq for guix-patches@gnu.org; Sun, 28 Apr 2024 14:58:49 -0400 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 1s19jc-0006cU-Ju for guix-patches@gnu.org; Sun, 28 Apr 2024 14:58:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s19jw-0005rk-3v; Sun, 28 Apr 2024 14:59:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v2 028/117] 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, 28 Apr 2024 18:59:08 +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: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171433070422237 (code B ref 69257); Sun, 28 Apr 2024 18:59:08 +0000 Received: (at 69257) by debbugs.gnu.org; 28 Apr 2024 18:58:24 +0000 Received: from localhost ([127.0.0.1]:51914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s19jD-0005mV-F7 for submit@debbugs.gnu.org; Sun, 28 Apr 2024 14:58:23 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56127 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s19iZ-0005fK-3F for 69257@debbugs.gnu.org; Sun, 28 Apr 2024 14:57:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714330632; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dEQhNt1wugl5vMmLAPldArqOwqPEuYkUXJdi/NODQDE=; b=rkwXtJBOi8uW3TTLaVjpWbdSceZ8JJphxPFhFeOUGhNQAnZNagaI/DqxE3rgG92Ym0U/sv ROpApbx/qb3laIaH18hWrcL8dgepDRRhzr54N8GO4oK4W3yoQfQMMTR1mm/gY79j3MS8Cu 86CaOq7Uj4LDg0aX17mWZ/i8LxM5OWf7TBXTbQUNIH2Fli8wR1JRJJmoeK/IwrFODA4eBE JbYmTzPhhdQJYaTwb5qeUjTzvCsHcHIFZx2vVksvIWurQNDY7royeUqXaqIYUwcyarqJQW Hp099bU2zBX3WHDYeHr/kzxy5Qyk23N7+ojWVvDfAyIkcBuHdxgt/nO4fclz8A== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 4bdd7dad (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sun, 28 Apr 2024 18:57:12 +0000 (UTC) Date: Sun, 28 Apr 2024 20:54:54 +0200 Message-ID: <88ba52bf51c2b07b7d8b870bcded3450d9c6fb6d.1714330021.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: B232F52996 X-Migadu-Scanner: mx13.migadu.com X-TUID: 8/zCFkKv5iPN * gnu/packages/crates-io.scm (rust-konst-0.3): Add variable. (rust-konst-0.2): Inherit from rust-konst-0.3. Change-Id: I74632d7cd34a03e28b6dfdc2a77f222338fea935 --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4493bb97b4..cab773860b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36377,8 +36377,39 @@ (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.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-test-flags `("--release" "--all-targets" "--" + "--skip=string::priv_string_tests::invalid_both" + "--skip=string::priv_string_tests::invalid_end" + "--skip=string::priv_string_tests::invalid_start") + #: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 @@ -36388,18 +36419,11 @@ (define-public rust-konst-0.2 (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))) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))))) (define-public rust-konst-kernel-0.3 (package -- 2.41.0