From patchwork Fri Jun 17 11:59:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Arazas X-Patchwork-Id: 40082 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 CDCE427BBEA; Fri, 17 Jun 2022 13:09:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 770F527BBE9 for ; Fri, 17 Jun 2022 13:09:42 +0100 (BST) Received: from localhost ([::1]:58220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2AnF-00053s-Js for patchwork@mira.cbaines.net; Fri, 17 Jun 2022 08:09:41 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 6fc33d91ba6b07beae8a9a38a5b768511bb79ced 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