dfsg-main: Add vim packages
This commit is contained in:
parent
c87d0c4b75
commit
5b28156bda
1 changed files with 107 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system cargo)
|
||||
#:use-module (gnu packages crates-io))
|
||||
#:use-module (guix build-system copy)
|
||||
#:use-module (gnu packages crates-io)
|
||||
#:use-module (gnu packages web-browsers))
|
||||
|
||||
(define-public gvlc
|
||||
(let ((commit "456446e7fa898fed82fef0d0c2dd0adf9b4b3b89")
|
||||
|
@ -49,3 +51,107 @@
|
|||
(description "The Gentle Vim Lisp Compiler is a compiler for the Vim Lisp
|
||||
programming language.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public vim-slime
|
||||
;; No tagged releases.
|
||||
(let ((commit "a522fed677e50175f52efc5848cc35209af33216")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "vim-slime")
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jpalardy/vim-slime")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0k4b629jn6xlxyjxdl3cgm06v9dmx967rqnslv5m82c9kscwpyh4"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
'(("autoload" "share/vim/vimfiles/")
|
||||
("doc" "share/vim/vimfiles/")
|
||||
("ftplugin" "share/vim/vimfiles/")
|
||||
("plugin" "share/vim/vimfiles/"))))
|
||||
(home-page "https://technotales.wordpress.com/2007/10/03/like-slime-for-vim/")
|
||||
(synopsis "Vim plugin to give you some slime")
|
||||
(description "SLIME is an Emacs plugin to turn Emacs into a Lisp IDE. You
|
||||
can type text in a file, send it to a live REPL, and avoid having to reload all
|
||||
your code every time you make a change. @code{Vim-slime} is an attempt at
|
||||
getting some of these features into Vim. It works with any REPL and isn't tied
|
||||
to Lisp.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public vim-commentary
|
||||
;; Last tagged release was 2016.
|
||||
(let ((commit "349340debb34f6302931f0eb7139b2c11dfdf427")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "vim-commentary")
|
||||
(version (git-version "1.3" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/tpope/vim-commentary")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "01lpfcn2hmvxddcf97f4qx5vksxj1hwrxb0c8ri59z9lb9z2hgjd"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
'(("doc" "share/vim/vimfiles/")
|
||||
("plugin" "share/vim/vimfiles/"))))
|
||||
(home-page "https://www.vim.org/scripts/script.php?script_id=3695")
|
||||
(synopsis "Vim plugin to toggle comments in code")
|
||||
(description "This vim plugin helps with quickly commenting and
|
||||
uncommenting sections of text.")
|
||||
(license license:vim))))
|
||||
|
||||
(define-public vim-gemivim
|
||||
(let ((commit "1c05b93943835547bb5d221e4d97d9a8d11efdd2")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "vim-gemivim")
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.sr.ht/~k1nkreet/gemivim")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0rx5raq7z1p2whbsfmr7m0719zw4wcrkgyziwc87qh6ri5bqr0rh"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
'(("autoload" "share/vim/vimfiles/")
|
||||
("plugin" "share/vim/vimfiles/"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'hardcode-gmni
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "autoload/gemivim.vim"
|
||||
(("'gmni")
|
||||
(string-append "'" (assoc-ref inputs "gmni") "/bin/gmni")))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("gmni" ,gmni)))
|
||||
(home-page "https://sr.ht/%7Ek1nkreet/gemivim/")
|
||||
(synopsis "VIM plugin for browsing Gemini pages")
|
||||
(description "This is a simple VIM plugin for browsing Gemini pages.
|
||||
It uses gmni as a gemini client and supports:
|
||||
@itemize
|
||||
@item Get gemini content by given URL
|
||||
@item Netrw gx-like open gemini link under cursor
|
||||
@item Capturing input when gemini resource anticipates to
|
||||
@item Bookmarks management
|
||||
@end itemize
|
||||
Since plugin does nothing but storing content in temporary files and opening
|
||||
them in buffers, one could find quite convenient to use whole power of VIM with
|
||||
search, jumplists, tabs, whatever to browse efficiently.")
|
||||
(license license:gpl2))))
|
||||
|
|
Loading…
Reference in a new issue