all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: calum <calumirwin1@gmail.com>
To: 55746@debbugs.gnu.org
Cc: calum <calumirwin1@gmail.com>
Subject: [bug#55746] [PATCH] gnu: parinfer-rust: Copy plugin files to output.
Date: Wed,  1 Jun 2022 17:47:10 +1200	[thread overview]
Message-ID: <20220601054710.17297-1-calumirwin1@gmail.com> (raw)

* 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 <aecepoglu@fastmail.fm>
 ;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
-;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
+;;; Copyright © 2021,2022 Calum Irwin <calumirwin1@gmail.com>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
 ;;;
 ;;; 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
-- 
2.36.0





             reply	other threads:[~2022-06-01  5:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01  5:47 calum [this message]
2022-06-04  8:09 ` [bug#55746] Calum Irwin
2024-03-11 17:54 ` [bug#55746] close Skyler Ferris via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220601054710.17297-1-calumirwin1@gmail.com \
    --to=calumirwin1@gmail.com \
    --cc=55746@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.