[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add vim-guix-vim.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add vim-guix-vim. |
Date: |
Tue, 28 Jan 2020 02:42:51 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new a947ade gnu: Add vim-guix-vim.
a947ade is described below
commit a947ade67d02a3fcb4bfe4f0dcb1d4c575cd6368
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 27 19:07:10 2020 +0200
gnu: Add vim-guix-vim.
* gnu/packages/vim.scm (vim-guix-vim): New variable.
---
gnu/packages/vim.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index b5952e3..f130ae4 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add vim-guix-vim.,
guix-commits <=