diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-01-29 11:12:49 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-01-29 11:12:49 +0100 |
commit | 0895002f68a51de2c237e1fe83ec6e4ffc980eff (patch) | |
tree | 34b1dbfafef2e98892c793c2001f028d1e88efd0 /gnu/packages/vim.scm | |
parent | 333d15790caec5c6782c3889a29b6f91d40ac42d (diff) | |
parent | 602059e794182a035f3919c3eb88d7d2085e24df (diff) | |
download | guix-0895002f68a51de2c237e1fe83ec6e4ffc980eff.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/vim.scm')
-rw-r--r-- | gnu/packages/vim.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index b5952e3e21..f130ae4392 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -938,3 +938,37 @@ through its msgpack-rpc API.") (define-public python2-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))) |