* [bug#57456] [PATCH] gnu: Add neovim-packer.
2022-08-28 4:16 [bug#57456] [PATCH] gnu: Add neovim-packer gyara via Guix-patches via
@ 2022-08-28 7:38 ` ( via Guix-patches via
2022-08-28 8:21 ` ギャラ via Guix-patches via
2022-08-28 8:21 ` [bug#57456] [PATCH v2] " gyara via Guix-patches via
` (3 subsequent siblings)
4 siblings, 1 reply; 10+ messages in thread
From: ( via Guix-patches via @ 2022-08-28 7:38 UTC (permalink / raw)
To: gyara, 57456
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.
-- (
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#57456] [PATCH v2] gnu: Add neovim-packer.
2022-08-28 4:16 [bug#57456] [PATCH] gnu: Add neovim-packer gyara via Guix-patches via
2022-08-28 7:38 ` ( via Guix-patches via
@ 2022-08-28 8:21 ` gyara via Guix-patches via
2022-08-28 8:25 ` ( via Guix-patches via
2022-08-28 9:11 ` [bug#57456] [PATCH v3] " gyara via Guix-patches via
` (2 subsequent siblings)
4 siblings, 1 reply; 10+ messages in thread
From: gyara via Guix-patches via @ 2022-08-28 8:21 UTC (permalink / raw)
To: 57456; +Cc: gyara
---
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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#57456] [PATCH v2] gnu: Add neovim-packer.
2022-08-28 8:21 ` [bug#57456] [PATCH v2] " gyara via Guix-patches via
@ 2022-08-28 8:25 ` ( via Guix-patches via
0 siblings, 0 replies; 10+ messages in thread
From: ( via Guix-patches via @ 2022-08-28 8:25 UTC (permalink / raw)
To: gyara, 57456
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
-- (
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#57456] [PATCH v3] gnu: Add neovim-packer.
2022-08-28 4:16 [bug#57456] [PATCH] gnu: Add neovim-packer gyara via Guix-patches via
2022-08-28 7:38 ` ( via Guix-patches via
2022-08-28 8:21 ` [bug#57456] [PATCH v2] " gyara via Guix-patches via
@ 2022-08-28 9:11 ` gyara via Guix-patches via
2022-08-28 9:16 ` ( via Guix-patches via
2022-08-29 4:01 ` [bug#57456] Packer.nvim hard code its name ギャラ via Guix-patches via
2022-08-29 4:01 ` [bug#57456] [PATCH v4] gnu: Add neovim-packer gyara via Guix-patches via
4 siblings, 1 reply; 10+ messages in thread
From: gyara via Guix-patches via @ 2022-08-28 9:11 UTC (permalink / raw)
To: 57456; +Cc: gyara
---
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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#57456] Packer.nvim hard code its name.
2022-08-28 4:16 [bug#57456] [PATCH] gnu: Add neovim-packer gyara via Guix-patches via
` (2 preceding siblings ...)
2022-08-28 9:11 ` [bug#57456] [PATCH v3] " gyara via Guix-patches via
@ 2022-08-29 4:01 ` ギャラ via Guix-patches via
2022-08-29 4:01 ` [bug#57456] [PATCH v4] gnu: Add neovim-packer gyara via Guix-patches via
4 siblings, 0 replies; 10+ messages in thread
From: ギャラ via Guix-patches via @ 2022-08-29 4:01 UTC (permalink / raw)
To: 57456; +Cc: (
[-- Attachment #1.1: Type: text/plain, Size: 195 bytes --]
After some test, I find that packer need to be place in
`pack/*/*/packer.nvim` because That plugin code relay on it.
--
存在するということは、自分を创造することだ。
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#57456] [PATCH v4] gnu: Add neovim-packer.
2022-08-28 4:16 [bug#57456] [PATCH] gnu: Add neovim-packer gyara via Guix-patches via
` (3 preceding siblings ...)
2022-08-29 4:01 ` [bug#57456] Packer.nvim hard code its name ギャラ via Guix-patches via
@ 2022-08-29 4:01 ` gyara via Guix-patches via
2022-09-06 14:32 ` bug#57456: [PATCH] " Ludovic Courtès
4 siblings, 1 reply; 10+ messages in thread
From: gyara via Guix-patches via @ 2022-08-29 4:01 UTC (permalink / raw)
To: 57456; +Cc: gyara
---
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
^ permalink raw reply related [flat|nested] 10+ messages in thread