2022-08-07 18:50:49 -04:00
|
|
|
(define-module (shino packages vim)
|
2022-08-09 13:30:41 -04:00
|
|
|
#:use-module ((guix licenses)
|
|
|
|
#:prefix license:)
|
2022-08-07 18:50:49 -04:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix gexp)
|
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix git-download)
|
2022-08-09 13:31:19 -04:00
|
|
|
#:use-module (guix build-system copy)
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages uml))
|
2022-08-07 18:50:49 -04:00
|
|
|
|
|
|
|
(define-public vim-plantuml-syntax
|
|
|
|
(package
|
|
|
|
(name "vim-plantuml-syntax")
|
|
|
|
(version "0.2.0")
|
2022-08-09 13:30:41 -04:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/aklt/plantuml-syntax")
|
|
|
|
(commit "660bbb1ece1e654b2176f76ce0689304c5a4a025")))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"05xf36np8y0gdcd05nzmkawh131lp4mm5cjgjr1byr8cjyl1idr3"))))
|
2022-08-07 18:50:49 -04:00
|
|
|
(build-system copy-build-system)
|
|
|
|
(arguments
|
2022-08-09 13:30:41 -04:00
|
|
|
'(#:install-plan '(("ftdetect" "share/vim/vimfiles/")
|
|
|
|
("ftplugin" "share/vim/vimfiles/")
|
|
|
|
("indent" "share/vim/vimfiles/")
|
|
|
|
("syntax" "share/vim/vimfiles/"))))
|
2022-08-07 18:50:49 -04:00
|
|
|
(synopsis "Vim PlantUML Syntax/Plugin/FTDetect")
|
2022-08-09 13:31:19 -04:00
|
|
|
(inputs (list plantuml))
|
2022-08-07 18:50:49 -04:00
|
|
|
(description
|
2022-08-09 13:30:41 -04:00
|
|
|
"This is a vim syntax file for PlantUML.The filetype will be set to
|
2022-08-09 15:03:55 -04:00
|
|
|
plantuml for @code{*.pu}, @code{*.uml}, @code{*.puml}, @code{*.iuml} or
|
|
|
|
@code{*.plantuml} files or if the first line of a file contains
|
|
|
|
@code{@@startuml}. Additionally the makeprg is set to plantuml assuming you
|
|
|
|
have this executable in your path.")
|
2022-08-07 18:50:49 -04:00
|
|
|
(home-page "https://github.com/aklt/plantuml-syntax")
|
|
|
|
(license #f)))
|