From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KPZ0DQhvrGLzAwAAbAwnHQ (envelope-from ) for ; Fri, 17 Jun 2022 14:09:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OCA2DQhvrGInwwAAauVa8A (envelope-from ) for ; Fri, 17 Jun 2022 14:09:44 +0200 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 C3BA01BFF0 for ; Fri, 17 Jun 2022 14:09:43 +0200 (CEST) Received: from localhost ([::1]:58220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2AnG-00053s-Mp for larch@yhetil.org; Fri, 17 Jun 2022 08:09:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Adw-0004n5-5Y for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Adv-0002DQ-NO for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2Adv-00004q-Fg for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56037] [PATCH 01/14] gnu: Add rust-kstring-2. References: <4f36626c-e03a-0fcd-5b6d-a053c6001097@gmail.com> In-Reply-To: <4f36626c-e03a-0fcd-5b6d-a053c6001097@gmail.com> Resent-From: Gabriel Arazas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 12:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56037@debbugs.gnu.org Cc: Gabriel Arazas Received: via spool by 56037-submit@debbugs.gnu.org id=B56037.165546718232647 (code B ref 56037); Fri, 17 Jun 2022 12:00:03 +0000 Received: (at 56037) by debbugs.gnu.org; 17 Jun 2022 11:59:42 +0000 Received: from localhost ([127.0.0.1]:43940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2AdZ-0008UV-Jk for submit@debbugs.gnu.org; Fri, 17 Jun 2022 07:59:41 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:42943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2AdW-0008U9-8h for 56037@debbugs.gnu.org; Fri, 17 Jun 2022 07:59:40 -0400 Received: by mail-pj1-f42.google.com with SMTP id 73-20020a17090a0fcf00b001eaee69f600so3963091pjz.1 for <56037@debbugs.gnu.org>; Fri, 17 Jun 2022 04:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kDVvjOCxNw0kwK0RjZY8X458LwQM+fDQgBp7MDetbsg=; b=G6H+G8dSWNVvnLHPCUGPTJhbvd+Xoyz5lMA96w2QslbWHTo3Tog2sH0tIVUSgEdOFV g2vf4NJg+V1BilGg9CxlsY7xh0YkeloZjuNvE5rcnrgyHbsoz4RbVV/DkNEu0kCXZVYu XOg2PKBPhW8Wk0cVOOwHXbXI4+U78V8PZjSZtdiWsgjhYCNWBWBxh4Q2jSPj6cZX7q1j RcucfeVfo7Jl1QyIdmWRonn3YZ1vRgBq5i+DSXqYtsR54KQ1U0VovpLnYtmigCgAfEFW qjRgeHclqU2Xu4sEHoCfKUK67t5D+wM6FlISlSZfMGYeOBmhUA2Gdboe2OyRR2lOEOoi QUDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kDVvjOCxNw0kwK0RjZY8X458LwQM+fDQgBp7MDetbsg=; b=YNBm1r/Vwql6FYGOygyCrLcVCvfBuWZIs2+6tUUtSaK2jT1KloMBnIq+p0kmnWm1kV qAN0QzNpf467ScpF89b1RUvEdhjPslquixK5lobnx0FCQrGGCiyjbLqR6sg7oEGiK2RR 2PArAyHuufIu/SJMLfKHpHwz89owUF+N/78Q+Cs+HlumB0Aiz2zQafTE4JPM0/HDjy79 we4cHAm26EYEWQPP3NSIfqLduyJ6OyJ98zrtVd0socA4CnbFgTfpiDXRirkxgeS5Xi0X PUb0IqMzcvF32Tgl86kaj3bLTS9KhP1OO1Iy2G4Xh/7La2vHDig2iwpzdW2xySDwWDMS F2ZA== X-Gm-Message-State: AJIora9qSUp0fR6yX+ZI/xVjA4UWquHbo+SZaTBHAqvUq8iZEKHssde7 6iBAnech/MMu/Du1enuUvKXUr+AoraU= X-Google-Smtp-Source: AGRyM1sYCMHszi7FieTFuWdo0OIIE1WRHsdmGubMgArEyV80s2mAuWVwJHVcpdo55xFuT4/+KGTUmQ== X-Received: by 2002:a17:902:ceca:b0:166:3418:5267 with SMTP id d10-20020a170902ceca00b0016634185267mr9233119plg.136.1655467171894; Fri, 17 Jun 2022 04:59:31 -0700 (PDT) Received: from ni.localhost ([180.190.75.56]) by smtp.gmail.com with ESMTPSA id jh22-20020a170903329600b0015e8d4eb1d3sm1152779plb.29.2022.06.17.04.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 04:59:31 -0700 (PDT) From: Gabriel Arazas Date: Fri, 17 Jun 2022 19:59:02 +0800 Message-Id: X-Mailer: git-send-email 2.36.1 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655467783; h=from:from:sender:sender: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=kDVvjOCxNw0kwK0RjZY8X458LwQM+fDQgBp7MDetbsg=; b=fHXa65U1D2JuMnX+L29JkkBWW+KBVP0fbZQvgeRYw8IRzGmzxnyOwu8Ox4HDxU0w8eLDam lu5jO9rpews0hrzfMh8M6dFYx1AGjatrauZu/MpG1CMFXtLW3PIx9L+oMLqtChxT4TPK4C DKUBIA6DqEDBtF6nRMzdl3DoupjjF5ghap1i0QlvGE50GdWfUFyCC2DaO317s0jylpSRwT 7d6+sZYZuQeiy/0vU+lylzHxHJ0Kaitt5tCqk7piJep6NlkI86g2GIwWuArIuJqhYGgwFT vX9HgskscqRZGtkL87Fq5G+68BqzGzhhfDfwF1jF+/X1sQIsCYo5ZlRl8vNYoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655467783; a=rsa-sha256; cv=none; b=JTO8nOYfdh/hREfocl1e/o9+nAt7tDVT9gRdmKtyFqM61Br14SIcSPOB64kwCgLyYGecSK zsPXfD0dOSeVV93jp3BZOrHg+gFIfUY9bYW+4I7CVj5w3UaeHelQnxlK3VuJMP1M27Cfs1 AmALanMJ5cgiPaRTg0cmD+vVnq+NmlLF9Ghoz/0FIF3zo+/OWKbLJwKVk6HQTCNqGsI3xz YkeF9e+5PASDswJZCaqrlC/7QlWX/iGfifJsUco0OWV2Xz/w+sA5fFeZmVb5erbze+eQAr sm4de9X3eVMjuiR+TaRNAuZl2CFIym7Cc9nBHIH9aahmuUfhJClNASKWsc8g5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=G6H+G8dS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=G6H+G8dS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: C3BA01BFF0 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4sAuU8caySXF * gnu/packages/crates-io.scm (rust-kstring-2): New variable. (rust-kstring-1): Inherit and adjust. --- gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 452a22f0f2..c037071ab0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30500,8 +30500,32 @@ (define-public rust-kqueue-1 (description "This package provides a kqueue interface for BSDs.") (license license:expat))) +(define-public rust-kstring-2 + (package + (name "rust-kstring") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (crate-uri "kstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0isp7kmk4q0qxpcd877q77ykgb3ryfbmj18djmnwv8c210sncc7c")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/cobalt-org/kstring") + (synopsis "Key String: optimized for map keys") + (description "Key String provides a Rust package optimized for map keys.") + (license (list license:expat license:asl2.0)))) + (define-public rust-kstring-1 (package + (inherit rust-kstring-2) (name "rust-kstring") (version "1.1.0") (source @@ -30520,11 +30544,7 @@ (define-public rust-kstring-1 ("rust-static-assertions" ,rust-static-assertions-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/cobalt-org/kstring") - (synopsis "String optimized for map keys") - (description "Key String provides a Rust package optimized for map keys.") - (license (list license:expat license:asl2.0)))) + ("rust-proptest" ,rust-proptest-1)))))) (define-public rust-kv-log-macro-1 (package base-commit: 6fc33d91ba6b07beae8a9a38a5b768511bb79ced -- 2.36.1