* [bug#65767] Add vim-vlime
@ 2023-09-05 23:44 Charles via Guix-patches via
2023-09-07 4:12 ` Charles via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Charles via Guix-patches via @ 2023-09-05 23:44 UTC (permalink / raw)
To: 65767
[-- Attachment #1.1: Type: text/plain, Size: 13 bytes --]
Empty Message
[-- Attachment #1.2: Type: text/html, Size: 24 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-vim-vlime.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-vim-vlime.patch, Size: 3787 bytes --]
From 9af34d5a190d0bf97c7a0171ce957fdcc1952a12 Mon Sep 17 00:00:00 2001
Message-Id: <9af34d5a190d0bf97c7a0171ce957fdcc1952a12.1693957442.git.charles.b.jackson@protonmail.com>
From: Charles Jackson <charles.b.jackson@protonmail.com>
Date: Tue, 5 Sep 2023 18:42:05 -0500
Subject: [PATCH] gnu: Add vim-vlime.
* gnu/packages/vim.scm (vim-vlime): New variable.
---
gnu/packages/vim.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index d58b022123..b5fb461197 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021 Tissevert <tissevert+guix@marvid.fr>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2023 Charles Jackson <charles.b.jackson@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,6 +32,7 @@
(define-module (gnu packages vim)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((gnu packages lisp-xyz) #:prefix lisp:)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix utils)
@@ -1113,6 +1115,58 @@ (define-public vim-slime
to Lisp.")
(license license:expat))))
+(define-public vim-vlime
+ ;; last tag is very outdated
+ (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022")
+ (revision "1"))
+ (package
+ (name "vim-vlime")
+ (version (git-version "0.4.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vlime/vlime")
+ (commit commit)))
+ (sha256
+ (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp"))
+ (file-name (git-file-name name version))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan
+ '(("vim/autoload" "share/vim/vimfiles/")
+ ("vim/doc" "share/vim/vimfiles/")
+ ("vim/ftplugin" "share/vim/vimfiles/")
+ ("vim/syntax" "share/vim/vimfiles/")
+ ("vim/test" "share/vim/vimfiles/")
+ ;; This is so the Vimscript part of Vlime can find the lisp files
+ ("lisp" "share/vim/")
+ ;; This is so lisp can load Vlime without the Vim part
+ ("lisp" "share/common-lisp/source/vlime"))
+ #:phases
+ (modify-phases %standard-phases
+ ;; Create a symbolic link to the .asd file so that
+ ;; (asdf:load-system "vlime") finds the system.
+ (add-after 'install 'link-asd
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/share/common-lisp/systems/"))
+ (symlink (string-append out "/share/common-lisp/source/vlime/vlime.asd")
+ (string-append out "/share/common-lisp/systems/vlime.asd"))))))))
+ (propagated-inputs
+ (list lisp:cl-alexandria
+ lisp:cl-slime-swank
+ lisp:cl-usocket
+ lisp:cl-vom
+ lisp:cl-yason))
+ (home-page "https://github.com/vlime/vlime")
+ (synopsis "Common Lisp dev environment for Vim (and Neovim)")
+ (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It
+provides REPL integration, as well as omni-completions, cross reference
+utilities, a nice inspector, debugger support, and many other great facilities
+to aid you in your glorious Common Lisp hacking quest.")
+ (license license:expat))))
+
(define-public vim-paredit
;; The last tagged version is from August 2013.
(let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec")
base-commit: e365c26a34fa485f9af46538fcea128db681c33d
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#65767] Add vim-vlime
2023-09-05 23:44 [bug#65767] Add vim-vlime Charles via Guix-patches via
@ 2023-09-07 4:12 ` Charles via Guix-patches via
2023-09-07 4:14 ` [bug#65767] No prefix on lisp-xyz module Charles via Guix-patches via
2023-09-08 6:25 ` bug#65767: [PATCH] gnu: Add vim-vlime jgart via Guix-patches via
2 siblings, 0 replies; 4+ messages in thread
From: Charles via Guix-patches via @ 2023-09-07 4:12 UTC (permalink / raw)
To: 65767
[-- Attachment #1: Type: text/plain, Size: 72 bytes --]
Here is an newer patch that uses the lisp-xyz module without a prefix.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-vim-vlime.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-vim-vlime.patch, Size: 4164 bytes --]
From 83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc Mon Sep 17 00:00:00 2001
Message-Id: <83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc.1694059834.git.charles.b.jackson@protonmail.com>
From: Charles Jackson <charles.b.jackson@protonmail.com>
Date: Tue, 5 Sep 2023 18:42:05 -0500
Subject: [PATCH] gnu: Add vim-vlime.
* gnu/packages/vim.scm (vim-vlime): New variable.
---
gnu/packages/vim.scm | 56 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index d58b022123..6c464154db 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021 Tissevert <tissevert+guix@marvid.fr>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2023 Charles Jackson <charles.b.jackson@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,7 +31,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages vim)
- #:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix utils)
@@ -60,6 +61,7 @@ (define-module (gnu packages vim)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages lua)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
@@ -1113,6 +1115,58 @@ (define-public vim-slime
to Lisp.")
(license license:expat))))
+(define-public vim-vlime
+ ;; last tag is very outdated
+ (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022")
+ (revision "1"))
+ (package
+ (name "vim-vlime")
+ (version (git-version "0.4.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vlime/vlime")
+ (commit commit)))
+ (sha256
+ (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp"))
+ (file-name (git-file-name name version))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan
+ '(("vim/autoload" "share/vim/vimfiles/")
+ ("vim/doc" "share/vim/vimfiles/")
+ ("vim/ftplugin" "share/vim/vimfiles/")
+ ("vim/syntax" "share/vim/vimfiles/")
+ ("vim/test" "share/vim/vimfiles/")
+ ;; This is so the Vimscript part of Vlime can find the lisp files
+ ("lisp" "share/vim/")
+ ;; This is so lisp can load Vlime without the Vim part
+ ("lisp" "share/common-lisp/source/vlime"))
+ #:phases
+ (modify-phases %standard-phases
+ ;; Create a symbolic link to the .asd file so that
+ ;; (asdf:load-system "vlime") finds the system.
+ (add-after 'install 'link-asd
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/share/common-lisp/systems/"))
+ (symlink (string-append out "/share/common-lisp/source/vlime/vlime.asd")
+ (string-append out "/share/common-lisp/systems/vlime.asd"))))))))
+ (propagated-inputs
+ (list cl-alexandria
+ cl-slime-swank
+ cl-usocket
+ cl-vom
+ cl-yason))
+ (home-page "https://github.com/vlime/vlime")
+ (synopsis "Common Lisp dev environment for Vim (and Neovim)")
+ (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It
+provides REPL integration, as well as omni-completions, cross reference
+utilities, a nice inspector, debugger support, and many other great facilities
+to aid you in your glorious Common Lisp hacking quest.")
+ (license license:expat))))
+
(define-public vim-paredit
;; The last tagged version is from August 2013.
(let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec")
base-commit: e365c26a34fa485f9af46538fcea128db681c33d
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#65767] No prefix on lisp-xyz module
2023-09-05 23:44 [bug#65767] Add vim-vlime Charles via Guix-patches via
2023-09-07 4:12 ` Charles via Guix-patches via
@ 2023-09-07 4:14 ` Charles via Guix-patches via
2023-09-08 6:25 ` bug#65767: [PATCH] gnu: Add vim-vlime jgart via Guix-patches via
2 siblings, 0 replies; 4+ messages in thread
From: Charles via Guix-patches via @ 2023-09-07 4:14 UTC (permalink / raw)
To: 65767@debbugs.gnu.org
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
I think I sent the previous email to the wrong place. My apologies.
This is a newer patch meant to replace the previous one. The only difference is that that lisp-xyz module doesn't have a prefix.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-vim-vlime.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-vim-vlime.patch, Size: 4164 bytes --]
From 83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc Mon Sep 17 00:00:00 2001
Message-Id: <83ffb0fff0ebdcc73e656efd97c28c8bd1f520cc.1694059834.git.charles.b.jackson@protonmail.com>
From: Charles Jackson <charles.b.jackson@protonmail.com>
Date: Tue, 5 Sep 2023 18:42:05 -0500
Subject: [PATCH] gnu: Add vim-vlime.
* gnu/packages/vim.scm (vim-vlime): New variable.
---
gnu/packages/vim.scm | 56 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index d58b022123..6c464154db 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021 Tissevert <tissevert+guix@marvid.fr>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2023 Charles Jackson <charles.b.jackson@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,7 +31,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages vim)
- #:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix utils)
@@ -60,6 +61,7 @@ (define-module (gnu packages vim)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages lua)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
@@ -1113,6 +1115,58 @@ (define-public vim-slime
to Lisp.")
(license license:expat))))
+(define-public vim-vlime
+ ;; last tag is very outdated
+ (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022")
+ (revision "1"))
+ (package
+ (name "vim-vlime")
+ (version (git-version "0.4.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vlime/vlime")
+ (commit commit)))
+ (sha256
+ (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp"))
+ (file-name (git-file-name name version))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan
+ '(("vim/autoload" "share/vim/vimfiles/")
+ ("vim/doc" "share/vim/vimfiles/")
+ ("vim/ftplugin" "share/vim/vimfiles/")
+ ("vim/syntax" "share/vim/vimfiles/")
+ ("vim/test" "share/vim/vimfiles/")
+ ;; This is so the Vimscript part of Vlime can find the lisp files
+ ("lisp" "share/vim/")
+ ;; This is so lisp can load Vlime without the Vim part
+ ("lisp" "share/common-lisp/source/vlime"))
+ #:phases
+ (modify-phases %standard-phases
+ ;; Create a symbolic link to the .asd file so that
+ ;; (asdf:load-system "vlime") finds the system.
+ (add-after 'install 'link-asd
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/share/common-lisp/systems/"))
+ (symlink (string-append out "/share/common-lisp/source/vlime/vlime.asd")
+ (string-append out "/share/common-lisp/systems/vlime.asd"))))))))
+ (propagated-inputs
+ (list cl-alexandria
+ cl-slime-swank
+ cl-usocket
+ cl-vom
+ cl-yason))
+ (home-page "https://github.com/vlime/vlime")
+ (synopsis "Common Lisp dev environment for Vim (and Neovim)")
+ (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It
+provides REPL integration, as well as omni-completions, cross reference
+utilities, a nice inspector, debugger support, and many other great facilities
+to aid you in your glorious Common Lisp hacking quest.")
+ (license license:expat))))
+
(define-public vim-paredit
;; The last tagged version is from August 2013.
(let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec")
base-commit: e365c26a34fa485f9af46538fcea128db681c33d
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#65767: [PATCH] gnu: Add vim-vlime.
2023-09-05 23:44 [bug#65767] Add vim-vlime Charles via Guix-patches via
2023-09-07 4:12 ` Charles via Guix-patches via
2023-09-07 4:14 ` [bug#65767] No prefix on lisp-xyz module Charles via Guix-patches via
@ 2023-09-08 6:25 ` jgart via Guix-patches via
2 siblings, 0 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2023-09-08 6:25 UTC (permalink / raw)
To: 65767-done, Charles; +Cc: Guillaume Le Vaillant
Thanks applied with minor changes to master.
best,
jgart
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-08 6:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 23:44 [bug#65767] Add vim-vlime Charles via Guix-patches via
2023-09-07 4:12 ` Charles via Guix-patches via
2023-09-07 4:14 ` [bug#65767] No prefix on lisp-xyz module Charles via Guix-patches via
2023-09-08 6:25 ` bug#65767: [PATCH] gnu: Add vim-vlime jgart via Guix-patches via
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.