mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add vim-guix-vim.
* gnu/packages/vim.scm (vim-guix-vim): New variable.
This commit is contained in:
parent
7ee8acbb76
commit
a947ade67d
1 changed files with 34 additions and 0 deletions
|
@ -938,3 +938,37 @@ through its msgpack-rpc API.")
|
||||||
|
|
||||||
(define-public python2-pynvim
|
(define-public python2-pynvim
|
||||||
(package-with-python2 python-pynvim))
|
(package-with-python2 python-pynvim))
|
||||||
|
|
||||||
|
(define-public vim-guix-vim
|
||||||
|
(package
|
||||||
|
(name "vim-guix-vim")
|
||||||
|
(version "0.1")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://gitlab.com/Efraim/guix.vim")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(delete 'build)
|
||||||
|
(replace 'install
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(vimfiles (string-append out "/share/vim/vimfiles")))
|
||||||
|
(for-each
|
||||||
|
(lambda (dir)
|
||||||
|
(copy-recursively dir (string-append vimfiles "/" dir)))
|
||||||
|
'("compiler" "doc" "indent" "ftdetect" "ftplugin" "syntax"))
|
||||||
|
#t))))))
|
||||||
|
(home-page "https://gitlab.com/Efraim/guix.vim")
|
||||||
|
(synopsis "Guix integration in Vim")
|
||||||
|
(description "This package provides support for GNU Guix in Vim.")
|
||||||
|
(license license:vim)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue