tamarin-prover: install vim syntax highlighting files

note that this was tested on 13e74a838d
because tamarin-prover does not build on master...
This commit is contained in:
Symphorien Gibol 2018-03-31 23:55:03 +02:00
parent 13e74a838d
commit d432cb7fdb

View file

@ -70,6 +70,9 @@ mkDerivation (common "tamarin-prover" src // {
postInstall = ''
wrapProgram $out/bin/tamarin-prover \
--prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]}
# so that the package can be used as a vim plugin to install syntax coloration
install -Dt $out/share/vim-plugins/tamarin-prover/syntax/ etc/{spthy,sapic}.vim
install etc/filetype.vim -D $out/share/vim-plugins/tamarin-prover/ftdetect/tamarin.vim
'';
checkPhase = "./dist/build/tamarin-prover/tamarin-prover test";