From patchwork Wed Jun 1 05:47:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Calum Irwin X-Patchwork-Id: 39693 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 4067F27BBEA; Wed, 1 Jun 2022 06:56:08 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 D344227BBE9 for ; Wed, 1 Jun 2022 06:56:07 +0100 (BST) Received: from localhost ([::1]:39488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwHKw-0001jd-No for patchwork@mira.cbaines.net; Wed, 01 Jun 2022 01:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwHDE-0004Kv-GD for guix-patches@gnu.org; Wed, 01 Jun 2022 01:48:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwHD7-0000br-UK for guix-patches@gnu.org; Wed, 01 Jun 2022 01:48:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwHD7-0000BN-Ps for guix-patches@gnu.org; Wed, 01 Jun 2022 01:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55746] [PATCH] gnu: parinfer-rust: Copy plugin files to output. Resent-From: calum Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jun 2022 05:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55746 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55746@debbugs.gnu.org Cc: calum X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1654062451505 (code B ref -1); Wed, 01 Jun 2022 05:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2022 05:47:31 +0000 Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwHCd-000085-88 for submit@debbugs.gnu.org; Wed, 01 Jun 2022 01:47:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:38272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwHCY-00007u-57 for submit@debbugs.gnu.org; Wed, 01 Jun 2022 01:47:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwHCX-0003ty-DE for guix-patches@gnu.org; Wed, 01 Jun 2022 01:47:25 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:39461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwHCV-0000Wd-Jw for guix-patches@gnu.org; Wed, 01 Jun 2022 01:47:25 -0400 Received: by mail-pl1-x62a.google.com with SMTP id o17so791433pla.6 for ; Tue, 31 May 2022 22:47:22 -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=xzgUWXYUdRZW7Ees79QyYecuvcbqrMuUe64BCeiTMH4=; b=mZJVmkcom9OqrlbPuo7xg2xv1OVxAJqQ3E+5xlG6LVjBj5LqUtEvF7rt5oepi0b+7q 1pQ14Dkx6OJbQuarAHPkluwlsnqpeC1UW4Q2Kg2WxhsBjcFippNL9cCpY1kgvbOzSRr1 ogvzsnqpAwcyYWNLJLX4HjQnR7b1juiHVvk+hrsfhYNtudy3FMzuUAzUZxeU8Tqof6rA PorPNi1f279azwBi8NhJRVWMoH0f841MmU/PExY4E9i1ByUB7N9EAWlbefy6ILzgCufn vDTPzeznkXViBYx8ayWfzg2ICeYoDeyN3/E8GBhu3Iw793PfbHpqPmNSyiMpMqXK0Pik l0uw== 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=xzgUWXYUdRZW7Ees79QyYecuvcbqrMuUe64BCeiTMH4=; b=lQX5v7+pBxVdy8LFC2bDugDmBLRckACIUpWy4lnwUvhpRrQtegfk0VHDM3dLjydDFp /aX1/7DXddwGQdUDCcOMiavNTGqhS9bzCqi2zeC1qi08Gudw5Q1PCn0Sa3I3Io5rc955 V5eMcGFbcKHb+oErdAZ1kFJt3ezHSykHwtN4WQwSFeutGm1mypFzmRfnIkBaPpr9nGdc b286//L6oBsPzd9FDbeOiwvHeFe6OoF/SNIBppj3e/VTwvNU9yvmqUW+zPaaFCGNW33E W1MgglxcgvKNneB/KfeO7rjJEau7T2txc8QldRpD7mhTwOIgt6xt8dfyOjHDOb6a3q6T 2oZg== X-Gm-Message-State: AOAM530eRe1w3l0LWyWDvOW+63c+1D0cKJCMmFLrqNGN9G3ti/YLkqrS RVZFY06KhDX50YXGFsxhpG33iRetDHmxPQ== X-Google-Smtp-Source: ABdhPJz7XPZH798f2VfC5DRHf9nYqgwTjvB01npTNahQpaAwsIUKLUZDknTQUF390/XbRCKCpV3RrQ== X-Received: by 2002:a17:90a:5785:b0:1e0:3647:7851 with SMTP id g5-20020a17090a578500b001e036477851mr32290230pji.155.1654062440164; Tue, 31 May 2022 22:47:20 -0700 (PDT) Received: from localhost.localdomain (122-61-150-77-fibre.sparkbb.co.nz. [122.61.150.77]) by smtp.googlemail.com with ESMTPSA id c11-20020aa7880b000000b00518e1251197sm459258pfo.148.2022.05.31.22.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 22:47:19 -0700 (PDT) From: calum Date: Wed, 1 Jun 2022 17:47:10 +1200 Message-Id: <20220601054710.17297-1-calumirwin1@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=calumirwin1@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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/text-editors.scm (parinfer-rust)[arguments]: Copy plugin files to output. [home-page]: Use correct url. --- gnu/packages/text-editors.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index cb86a907ff..011e3bbb65 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2021 aecepoglu ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois -;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2021,2022 Calum Irwin ;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. @@ -274,10 +274,17 @@ (define-public parinfer-rust ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-extra + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "rc/parinfer.kak" (string-append out "/rc")) + (install-file "plugin/parinfer.vim" (string-append out "/plugin")))))))) (inputs (list clang)) - (home-page "https://github.com/justinbarclay/parinfer-rust") + (home-page "https://github.com/eraserhd/parinfer-rust") (synopsis "Infer parentheses for Clojure, Lisp and Scheme") (description "Parinfer is a plugin for Kakoune, Vim, Neovim and Emacs that infers