From patchwork Fri Jun 17 11:59:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Arazas X-Patchwork-Id: 40074 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 CC51927BBEA; Fri, 17 Jun 2022 13:04:34 +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 850A127BBE9 for ; Fri, 17 Jun 2022 13:04:34 +0100 (BST) Received: from localhost ([::1]:47982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2AiH-00067I-Lr for patchwork@mira.cbaines.net; Fri, 17 Jun 2022 08:04:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Ae0-0004no-O1 for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Ady-0002E4-9Q for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2Ady-00005g-6n for guix-patches@gnu.org; Fri, 17 Jun 2022 08:00:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56037] [PATCH 03/14] gnu: Add rust-similar-2. Resent-From: Gabriel Arazas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 12:00:06 +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.165546719832697 (code B ref 56037); Fri, 17 Jun 2022 12:00:06 +0000 Received: (at 56037) by debbugs.gnu.org; 17 Jun 2022 11:59:58 +0000 Received: from localhost ([127.0.0.1]:43946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Adq-0008VJ-5E for submit@debbugs.gnu.org; Fri, 17 Jun 2022 07:59:58 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:45913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Ado-0008Uo-9R for 56037@debbugs.gnu.org; Fri, 17 Jun 2022 07:59:56 -0400 Received: by mail-pl1-f181.google.com with SMTP id d5so3676926plo.12 for <56037@debbugs.gnu.org>; Fri, 17 Jun 2022 04:59:56 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=K675op8/AD/r2fJN8zmUcQ28N2CmA/gtPq6NY80Bris=; b=pJN2rhQKgyYDFucy0jfiIYnmCDnxApuuoDX/NolAMxEAUaYvASclL/R0MOLh5y2RLu aXvBIGsLPvanQ6REPXLs9I2AW71ocJtn6lXtC2u2WSzaqlOBMW3NeqB5yeqoo+F6qcXW 8a6+TVjYZfoNb6wLYy9yJHuqmaxhxCZ6JT8lUwYaDoH50CIe77L7o1/iNRclyAOVb+k2 EGj+Og6mBdhNKcfq/QGmTjLdUJXIHRMGWHIFemDIP8LylB9zgIpMhwDRAkkPHtFe0f/U x0qWr5L3P82gDNX4jb2h8x7ySqKH35yqBs5HwtkUwxH1CIstu1S7de/5zP4Sb3Hon/3l 5p3w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=K675op8/AD/r2fJN8zmUcQ28N2CmA/gtPq6NY80Bris=; b=c2j4ZSFtDmpK8EQyEGr0ruCcqOgUCcPw9KzeCPYLw1X5YXBR2AtIOxyzbMg603rPcP EaCnol0/soAzT8Nj8riCkE87SwSRW8AHeET9ld7EC75WqMZu0xMsLSsXaaZoyU73csnR NwCQW6nSDv5QR+/PF6bmHeVWlUud6KjvkUP58wd52iaXfdDtrrgIkX8MPuQxB8VHmWxR ok3v1p8ZlbekhtIVEWYgjrWKn1RCoXhS4bi32zVk4DMdfQU3xP6QhRhgir62GB4fvG88 FAuKMc+q1O2ElCKbRdiJb3Xy1fCSpU/sOC4zq6TfYOHtt5MaDhjeYSyMGe9A/2GCigHd lh7w== X-Gm-Message-State: AJIora/TTFdcyEtCZN5mtfgNpun8l0vEmEzVUS6UdnkOd/yy6jq2w6io GeeIB4uOCTFTB4yGeI29r+CXhQuZX18= X-Google-Smtp-Source: AGRyM1t71IjrF+SVbnuXGCOrB+ycA1hJQW97Q7FQhTCVjXDSGzTdDd/0PB9JTYEEa/t3DPnxV2DPxg== X-Received: by 2002:a17:90b:1e0e:b0:1ea:89a5:87d9 with SMTP id pg14-20020a17090b1e0e00b001ea89a587d9mr10330202pjb.81.1655467190362; Fri, 17 Jun 2022 04:59:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 04:59:49 -0700 (PDT) From: Gabriel Arazas Date: Fri, 17 Jun 2022 19:59:04 +0800 Message-Id: <371bac1e750c318007a519831f73547c5a85100f.1655465108.git.foo.dogsquared@gmail.com> X-Mailer: git-send-email 2.36.1 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: , 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-similar-2): New variable. (rust-similar-1): Inherit and adjust. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 88339619ca..8278bef7a6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56363,8 +56363,31 @@ (define-public rust-simdutf8-0.1 extensions.") (license (list license:expat license:asl2.0)))) +(define-public rust-similar-2 + (package + (name "rust-similar") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "similar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lw33na01r35h09s47jqhjgz3m29wapl20f6ybsla5d1cfgrf91f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bstr" ,rust-bstr-0.2) ("rust-serde" ,rust-serde-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page "https://github.com/mitsuhiko/similar") + (synopsis "A diff library for Rust") + (description "This package provides a diff library for Rust.") + (license license:asl2.0))) + (define-public rust-similar-1 (package + (inherit rust-similar-2) (name "rust-similar") (version "1.3.0") (source @@ -56379,12 +56402,7 @@ (define-public rust-similar-1 `(#:skip-build? #t #:cargo-inputs (("rust-bstr" ,rust-bstr-0.2) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) - (home-page - "https://github.com/mitsuhiko/similar") - (synopsis "Diff library for Rust") - (description "This package provides a diff library for Rust.") - (license license:asl2.0))) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))))) (define-public rust-simplelog-0.11 (package