gnu: Add vim-luna.

* gnu/packages/vim.scm (vim-luna): New variable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
This commit is contained in:
ng0 2017-02-14 13:18:23 +00:00 committed by Kei Kebreau
parent 5890f891e7
commit a4c95372e2
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -336,6 +336,42 @@ (define-public vim-scheme
(home-page "http://foldling.org/git/vim-scheme.git/") (home-page "http://foldling.org/git/vim-scheme.git/")
(license license:public-domain)))) (license license:public-domain))))
(define-public vim-luna
(let ((commit "633619953dcf8577168e255230f96b05f28d6371")
(revision "1"))
(package
(name "vim-luna")
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/notpratheek/vim-luna")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
(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"))
(colors (string-append vimfiles "/colors")))
(copy-recursively "colors" colors)
#t))))))
(synopsis "Dark color theme for Vim")
(description
"@code{vim-luna} is a dark color theme for Vim.")
(home-page "https://github.com/notpratheek/vim-luna")
(license license:expat))))
(define-public neovim (define-public neovim
(package (package
(name "neovim") (name "neovim")