[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add vim-scheme.
From: |
Kei Kebreau |
Subject: |
02/08: gnu: Add vim-scheme. |
Date: |
Tue, 28 Feb 2017 12:26:19 -0500 (EST) |
kkebreau pushed a commit to branch master
in repository guix.
commit 843b19ca883d32a257c2b8722f288f39721be480
Author: ng0 <address@hidden>
Date: Tue Feb 14 13:18:20 2017 +0000
gnu: Add vim-scheme.
* gnu/packages/vim.scm (vim-scheme): New variable.
Signed-off-by: Kei Kebreau <address@hidden>
---
gnu/packages/vim.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a683537..ee6cda0 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -23,6 +23,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
@@ -199,6 +200,46 @@ features than Vim's built-in completion.")
(home-page "https://github.com/Shougo/neocomplete.vim/")
(license license:expat)))
+(define-public vim-scheme
+ (let ((commit "93827987c10f2d5dc519166a761f219204926d5f")
+ (revision "1"))
+ (package
+ (name "vim-scheme")
+ (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "http://git.foldling.org/vim-scheme.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv"))))
+ (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"))
+ (after (string-append vimfiles "/after"))
+ (syntax (string-append vimfiles "/syntax"))
+ (ftplugin (string-append vimfiles "/ftplugin")))
+ (copy-recursively "after" after)
+ (copy-recursively "ftplugin" ftplugin)
+ (copy-recursively "syntax" syntax)
+ #t))))))
+ (synopsis "Scheme syntax for Vim")
+ (description
+ "@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")
+ (home-page "http://foldling.org/git/vim-scheme.git/")
+ (license license:public-domain))))
+
(define-public neovim
(package
(name "neovim")
- branch master updated (a995251 -> b02a141), Kei Kebreau, 2017/02/28
- 08/08: gnu: Add vim-airline-themes., Kei Kebreau, 2017/02/28
- 06/08: gnu: Add vim-context-filetype., Kei Kebreau, 2017/02/28
- 02/08: gnu: Add vim-scheme.,
Kei Kebreau <=
- 01/08: gnu: Add vim-neocomplete., Kei Kebreau, 2017/02/28
- 03/08: gnu: Add vim-neosnippet-snippets., Kei Kebreau, 2017/02/28
- 07/08: gnu: Add vim-airline., Kei Kebreau, 2017/02/28
- 05/08: gnu: Add vim-luna., Kei Kebreau, 2017/02/28
- 04/08: gnu: Add vim-neosnippet., Kei Kebreau, 2017/02/28