GNU bug report logs - #57456
[PATCH] gnu: Add neovim-packer.

Previous Next

Package: guix-patches;

Reported by: gyara <me <at> gyara.moe>

Date: Sun, 28 Aug 2022 04:18:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57456 in the body.
You can then email your comments to 57456 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 04:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gyara <me <at> gyara.moe>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 28 Aug 2022 04:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gyara <me <at> gyara.moe>
To: guix-patches <at> gnu.org
Cc: gyara <me <at> gyara.moe>
Subject: [PATCH] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 13:16:21 +0900
---
This patch add neovim-packer, a neovim plugin manager to guix.

 gnu/packages/vim.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a07c681cb3..d1d8588562 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -639,6 +639,34 @@ (define-public editorconfig-vim
 editors.")
     (license license:bsd-2)))
 
+(define-public neovim-packer
+  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
+        (revision "1"))
+    (package
+      (name "neovim-packer")
+      (version (git-version "0.0.0" revision commit))
+      (home-page "https://github.com/wbthomason/packer.nvim")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/wbthomason/packer.nvim.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("lua"
+                           "share/nvim/site/pack/packer/start/packer.nvim/")
+                          ("doc"
+                           "share/nvim/site/pack/packer/start/packer.nvim/"))))
+      (synopsis "Neovim Plugin manager")
+      (description
+       "A use-package inspired plugin manager for Neovim. Uses native packages,
+      supports Luarocks dependencies, written in Lua, allows for expressive config")
+      (license license:expat))))
+
 (define-public neovim-syntastic
   (package
     (inherit vim-syntastic)
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 07:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "gyara" <me <at> gyara.moe>, <57456 <at> debbugs.gnu.org>
Subject: Re: [bug#57456] [PATCH] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 08:38:08 +0100
Hello!

On Sun Aug 28, 2022 at 5:16 AM BST, gyara via Guix-patches via wrote:
> +  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
> +        (revision "1"))

Change to `0`, since this is the first revision in Guix.

> +    (package
> +      (name "neovim-packer")
> +      (version (git-version "0.0.0" revision commit))
> +      (home-page "https://github.com/wbthomason/packer.nvim")

Move this above `synopsis`.

> +                (uri (git-reference
> +                      (url "https://github.com/wbthomason/packer.nvim.git")

Remove the `.git` part.

> +      (arguments
> +       '(#:install-plan '(("lua"
> +                           "share/nvim/site/pack/packer/start/packer.nvim/")
> +                          ("doc"
> +                           "share/nvim/site/pack/packer/start/packer.nvim/"))))

Probably better formatting:

  (arguments
   (list #:install-plan
         #~'(("doc" "share/nvim/site/pack/guix/start/packer/")
             ("lua" "share/nvim/site/pack/guix/start/packer/"))))

(I used site/guix instead of site/packer for my own Guix
neovim packages; it seems like any name after site/ works.)

> +      (synopsis "Neovim Plugin manager")

This might be better as:

  Plugin manager for Neovim

> +      (description
> +       "A use-package inspired plugin manager for Neovim. Uses native packages,
> +      supports Luarocks dependencies, written in Lua, allows for expressive config")

And this as:

  This package provides a plugin manager for Neovim, inspired by Emacs's
  @code{euse-package}.  It's written in Lua, supports Luarocks dependencies,
  and is based on Vim's builtin plugin support.

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 08:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: ギャラ <me <at> gyara.moe>
To: 57456 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: Re: [bug#57456] [PATCH] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 17:21:13 +0900
[Message part 1 (text/plain, inline)]
Thanks for your review!

Updated patch is followed.

-- 
存在するということは、自分を创造することだ。
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 08:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: gyara <me <at> gyara.moe>
To: 57456 <at> debbugs.gnu.org
Cc: gyara <me <at> gyara.moe>
Subject: [PATCH v2] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 17:21:07 +0900
---
 gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a07c681cb3..9a234d260e 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -639,6 +639,33 @@ (define-public editorconfig-vim
 editors.")
     (license license:bsd-2)))
 
+(define-public neovim-packer
+  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
+        (revision "0"))
+    (package
+      (name "neovim-packer")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/wbthomason/packer.nvim")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("lua" "share/nvim/site/pack/packer/start/packer/")
+                          ("doc" "share/nvim/site/pack/packer/start/packer/"))))
+      (home-page "https://github.com/wbthomason/packer.nvim")
+      (synopsis "Plugin manager for Neovim")
+      (description
+       "This package provides a plugin manager for Neovim, inspired by Emacs's
+  @code{euse-package}.  It's written in Lua, supports Luarocks dependencies,
+  and is based on Vim's builtin plugin support.")
+      (license license:expat))))
+
 (define-public neovim-syntastic
   (package
     (inherit vim-syntastic)
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 08:26:02 GMT) Full text and rfc822 format available.

Message #17 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "gyara" <me <at> gyara.moe>, <57456 <at> debbugs.gnu.org>
Subject: Re: [bug#57456] [PATCH v2] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 09:25:49 +0100
On Sun Aug 28, 2022 at 9:21 AM BST, gyara via Guix-patches via wrote:
> +      (arguments
> +       '(#:install-plan '(("lua" "share/nvim/site/pack/packer/start/packer/")
> +                          ("doc" "share/nvim/site/pack/packer/start/packer/"))))

Use

  (list #:install-plan
        #~'(...))

instead. Also, s'pack/packer'pack/guix' is probably a nicer place to install
Guix Neovim plugins.

> +      (description
> +       "This package provides a plugin manager for Neovim, inspired by Emacs's
> +  @code{euse-package}.  It's written in Lua, supports Luarocks dependencies,
> +  and is based on Vim's builtin plugin support.")

typo: euse-package

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 09:12:01 GMT) Full text and rfc822 format available.

Message #20 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: gyara <me <at> gyara.moe>
To: 57456 <at> debbugs.gnu.org
Cc: gyara <me <at> gyara.moe>
Subject: [PATCH v3] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 18:11:28 +0900
---
 gnu/packages/vim.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a07c681cb3..7583552c59 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -639,6 +639,34 @@ (define-public editorconfig-vim
 editors.")
     (license license:bsd-2)))
 
+(define-public neovim-packer
+  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
+        (revision "0"))
+    (package
+      (name "neovim-packer")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/wbthomason/packer.nvim")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("lua" "share/nvim/site/pack/guix/start/packer/")
+                 ("doc" "share/nvim/site/pack/guix/start/packer/"))))
+      (home-page "https://github.com/wbthomason/packer.nvim")
+      (synopsis "Plugin manager for Neovim")
+      (description
+       "This package provides a plugin manager for Neovim, inspired by Emacs's
+  @code{use-package}.  It's written in Lua, supports Luarocks dependencies,
+  and is based on Vim's builtin plugin support.")
+      (license license:expat))))
+
 (define-public neovim-syntastic
   (package
     (inherit vim-syntastic)
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Sun, 28 Aug 2022 09:17:01 GMT) Full text and rfc822 format available.

Message #23 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "gyara" <me <at> gyara.moe>, <57456 <at> debbugs.gnu.org>
Subject: Re: [bug#57456] [PATCH v3] gnu: Add neovim-packer.
Date: Sun, 28 Aug 2022 10:16:07 +0100
LGTM! :)

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Mon, 29 Aug 2022 04:03:02 GMT) Full text and rfc822 format available.

Message #26 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: ギャラ <aya <at> fubuki.me>
To: 57456 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: Packer.nvim hard code its name.
Date: Mon, 29 Aug 2022 13:01:44 +0900
[Message part 1 (text/plain, inline)]
After some test, I find that packer need to be place in 
`pack/*/*/packer.nvim` because That plugin code relay on it.

-- 
存在するということは、自分を创造することだ。
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#57456; Package guix-patches. (Mon, 29 Aug 2022 04:03:02 GMT) Full text and rfc822 format available.

Message #29 received at 57456 <at> debbugs.gnu.org (full text, mbox):

From: gyara <me <at> gyara.moe>
To: 57456 <at> debbugs.gnu.org
Cc: gyara <me <at> gyara.moe>
Subject: [PATCH v4] gnu: Add neovim-packer.
Date: Mon, 29 Aug 2022 13:01:55 +0900
---
 gnu/packages/vim.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a07c681cb3..24718acc2c 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -639,6 +639,34 @@ (define-public editorconfig-vim
 editors.")
     (license license:bsd-2)))
 
+(define-public neovim-packer
+  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
+        (revision "0"))
+    (package
+      (name "neovim-packer")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/wbthomason/packer.nvim")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("lua" "share/nvim/site/pack/guix/start/packer.nvim/")
+                 ("doc" "share/nvim/site/pack/guix/start/packer.nvim/"))))
+      (home-page "https://github.com/wbthomason/packer.nvim")
+      (synopsis "Plugin manager for Neovim")
+      (description
+       "This package provides a plugin manager for Neovim, inspired by Emacs's
+  @code{use-package}.  It's written in Lua, supports Luarocks dependencies,
+  and is based on Vim's builtin plugin support.")
+      (license license:expat))))
+
 (define-public neovim-syntastic
   (package
     (inherit vim-syntastic)
-- 
2.37.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 06 Sep 2022 14:34:02 GMT) Full text and rfc822 format available.

Notification sent to gyara <me <at> gyara.moe>:
bug acknowledged by developer. (Tue, 06 Sep 2022 14:34:02 GMT) Full text and rfc822 format available.

Message #34 received at 57456-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: gyara <me <at> gyara.moe>
Cc: 57456-done <at> debbugs.gnu.org
Subject: Re: bug#57456: [PATCH] gnu: Add neovim-packer.
Date: Tue, 06 Sep 2022 16:32:56 +0200
Hi,

gyara <me <at> gyara.moe> skribis:

> ---
>  gnu/packages/vim.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

I tweaked the commit log and applied it, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Oct 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.