You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

925 lines
36 KiB

mailmap: Update entries for Nikita. * .mailmap: change email and name for Nikita. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 year ago
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. * gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/backup.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/compression.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm, gnu/packages/indent.scm, gnu/packages/inkscape.scm, gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm, gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm, gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm, gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/yasm.scm, gnu/packages/zip.scm, guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm, guix/build/python-build-system.scm, guix/download.scm: Replaces uses of #:renamer and 'symbol-prefix-proc' with #:prefix.
7 years ago
gnu: Remove unused lambda arguments and prefer separate phases over augmented phases. * gnu/packages/compression.scm (sharutils) [arguments]: Remove unused lambda args. * gnu/packages/gl.scm (mesa) [arguments]: Same * gnu/packages/fltk.scm [arguments]: Same. Substitute const check phase with #:tests? #f. Add pre-configure phase. * gnu/packages/ghostscript.scm (ghostscript) [arguments]: Put makefile patches in separate phase. Put so steps oinseparate phases. * gnu/packages/glib.scm (gobject-introspection) [arguments]: Remove unused lambda args. Put patches in pre-configure phase. * gnu/packages/gnupg.scm (gnupg) [arguments]: Put patch in pre-configure phase. (pius) [arguments]: Delete const #t configure and build phases. (signing-party) [arguments]: Factor patches into post-unpack phase. (paperkey) [arguments]: Remove unused lambda args. Factor out patches into pre-check phase. * gnu/packages/icu4c.scm [arguments]: Change source dir after standard unpack phase. Factor configure patches into pre-configure phase. * gnu/packages/lsof.scm [arguments]: Remove unused lambda args. Remove unnecessary apply. * gnu/packages/lvm.scm (lvm2) [arguments]: Factor out patches into pre-configure phase. * gnu/packages/libtiff.scm [arguments]: Same * gnu/packages/maths.scm (hdf5) [arguments]: Same * gnu/packages/gtk.scm (gtk+-2) [arguments]: Same * gnu/packages/mp3.scm (libmad) [arguments]: Same (id3lib) [arguments]: Same * gnu/packages/python.scm (python-2) [arguments]: Same * gnu/packages/texlive.scm (texlive) [arguments]: Same * gnu/packages/pretty-print.scm (a2ps) [arguments]: Same (trueprint) [arguments]: Same (source-highlight) [arguments]: Same. Remove unused lambda args. * gnu/packages/netpbm.scm [arguments]: Remove unused lambda args. Factor out test patches into pre-check phase. Condense calls to substitute* * gnu/packages/openldap.scm [arguments]: Factor out libtool copy into post-configure phases. [synopsis] Remove package name. * gnu/packages/ssh.scm (openssh) [arguments]: Factor out patches into separate phases. * gnu/packages/tcsh.scm [arguments]: Factor out test patches into pre-check phase. * gnu/packages/version-control.scm (git) [arguments]: Factor out patches into post-configure phase. * gnu/packages/vim.scm [arguments]: Same. [synopsis] Remove package name. * gnu/packages/vpn.scm (openconnect) [arguments]: Put configure flags in #:configure-flags
8 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu: Some cleanup based on lint checkers. * gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm, gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm, gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm, gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm, gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libdaemon.scm, gnu/packages/libevent.scm, gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm, gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pkg-config.scm, gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm, gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm, gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm, gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm, gnu/packages/valgrind.scm, gnu/packages/version-control.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm, gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust according to lint checkers. * gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri. * /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
7 years ago
gnu: Remove unused lambda arguments and prefer separate phases over augmented phases. * gnu/packages/compression.scm (sharutils) [arguments]: Remove unused lambda args. * gnu/packages/gl.scm (mesa) [arguments]: Same * gnu/packages/fltk.scm [arguments]: Same. Substitute const check phase with #:tests? #f. Add pre-configure phase. * gnu/packages/ghostscript.scm (ghostscript) [arguments]: Put makefile patches in separate phase. Put so steps oinseparate phases. * gnu/packages/glib.scm (gobject-introspection) [arguments]: Remove unused lambda args. Put patches in pre-configure phase. * gnu/packages/gnupg.scm (gnupg) [arguments]: Put patch in pre-configure phase. (pius) [arguments]: Delete const #t configure and build phases. (signing-party) [arguments]: Factor patches into post-unpack phase. (paperkey) [arguments]: Remove unused lambda args. Factor out patches into pre-check phase. * gnu/packages/icu4c.scm [arguments]: Change source dir after standard unpack phase. Factor configure patches into pre-configure phase. * gnu/packages/lsof.scm [arguments]: Remove unused lambda args. Remove unnecessary apply. * gnu/packages/lvm.scm (lvm2) [arguments]: Factor out patches into pre-configure phase. * gnu/packages/libtiff.scm [arguments]: Same * gnu/packages/maths.scm (hdf5) [arguments]: Same * gnu/packages/gtk.scm (gtk+-2) [arguments]: Same * gnu/packages/mp3.scm (libmad) [arguments]: Same (id3lib) [arguments]: Same * gnu/packages/python.scm (python-2) [arguments]: Same * gnu/packages/texlive.scm (texlive) [arguments]: Same * gnu/packages/pretty-print.scm (a2ps) [arguments]: Same (trueprint) [arguments]: Same (source-highlight) [arguments]: Same. Remove unused lambda args. * gnu/packages/netpbm.scm [arguments]: Remove unused lambda args. Factor out test patches into pre-check phase. Condense calls to substitute* * gnu/packages/openldap.scm [arguments]: Factor out libtool copy into post-configure phases. [synopsis] Remove package name. * gnu/packages/ssh.scm (openssh) [arguments]: Factor out patches into separate phases. * gnu/packages/tcsh.scm [arguments]: Factor out test patches into pre-check phase. * gnu/packages/version-control.scm (git) [arguments]: Factor out patches into post-configure phase. * gnu/packages/vim.scm [arguments]: Same. [synopsis] Remove package name. * gnu/packages/vpn.scm (openconnect) [arguments]: Put configure flags in #:configure-flags
8 years ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
  3. ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
  4. ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
  5. ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
  6. ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
  7. ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  8. ;;; Copyright © 2019 HiPhish <hiphish@posteo.de>
  9. ;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
  10. ;;; Copyright © 2019, 2020 Jakub Kądziołka <kuba@kadziolka.net>
  11. ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
  12. ;;;
  13. ;;; This file is part of GNU Guix.
  14. ;;;
  15. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  16. ;;; under the terms of the GNU General Public License as published by
  17. ;;; the Free Software Foundation; either version 3 of the License, or (at
  18. ;;; your option) any later version.
  19. ;;;
  20. ;;; GNU Guix is distributed in the hope that it will be useful, but
  21. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  22. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. ;;; GNU General Public License for more details.
  24. ;;;
  25. ;;; You should have received a copy of the GNU General Public License
  26. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  27. (define-module (gnu packages vim)
  28. #:use-module ((guix licenses) #:prefix license:)
  29. #:use-module (guix packages)
  30. #:use-module (guix utils)
  31. #:use-module (guix download)
  32. #:use-module (guix git-download)
  33. #:use-module (guix build-system cmake)
  34. #:use-module (guix build-system copy)
  35. #:use-module (guix build-system gnu)
  36. #:use-module (guix build-system python)
  37. #:use-module (gnu packages)
  38. #:use-module (gnu packages acl)
  39. #:use-module (gnu packages admin) ; For GNU hostname
  40. #:use-module (gnu packages attr)
  41. #:use-module (gnu packages autotools)
  42. #:use-module (gnu packages base)
  43. #:use-module (gnu packages fontutils)
  44. #:use-module (gnu packages gawk)
  45. #:use-module (gnu packages gettext)
  46. #:use-module (gnu packages glib)
  47. #:use-module (gnu packages gperf)
  48. #:use-module (gnu packages groff)
  49. #:use-module (gnu packages gtk)
  50. #:use-module (gnu packages image)
  51. #:use-module (gnu packages jemalloc)
  52. #:use-module (gnu packages libevent)
  53. #:use-module (gnu packages linux)
  54. #:use-module (gnu packages lua)
  55. #:use-module (gnu packages ncurses)
  56. #:use-module (gnu packages perl)
  57. #:use-module (gnu packages pkg-config)
  58. #:use-module (gnu packages python)
  59. #:use-module (gnu packages python-xyz)
  60. #:use-module (gnu packages ruby)
  61. #:use-module (gnu packages serialization)
  62. #:use-module (gnu packages shells)
  63. #:use-module (gnu packages tcl)
  64. #:use-module (gnu packages text-editors)
  65. #:use-module (gnu packages terminals)
  66. #:use-module (gnu packages xdisorg)
  67. #:use-module (gnu packages xorg))
  68. (define-public vim
  69. (package
  70. (name "vim")
  71. (version "8.2.1145")
  72. (source (origin
  73. (method git-fetch)
  74. (uri (git-reference
  75. (url "https://github.com/vim/vim")
  76. (commit (string-append "v" version))))
  77. (file-name (git-file-name name version))
  78. (sha256
  79. (base32
  80. "01z5hgi7m8d63gl1fgfn4p9rsdaqbl5xn4vr247nbxjq5x5hrs7a"))))
  81. (build-system gnu-build-system)
  82. (arguments
  83. `(#:test-target "test"
  84. #:parallel-tests? #f
  85. #:phases
  86. (modify-phases %standard-phases
  87. (add-after 'configure 'patch-absolute-paths
  88. (lambda _
  89. (substitute* "runtime/tools/mve.awk"
  90. (("/usr/bin/nawk") (which "gawk")))
  91. (substitute* '("src/testdir/Makefile"
  92. "src/testdir/test_normal.vim"
  93. "src/testdir/test_system.vim"
  94. "src/testdir/test_terminal.vim"
  95. "src/testdir/test_terminal2.vim")
  96. (("/bin/sh") (which "sh")))
  97. (substitute* "src/testdir/test_autocmd.vim"
  98. (("/bin/kill") (which "kill")))
  99. #t))
  100. (add-before 'check 'set-environment-variables
  101. (lambda* (#:key inputs #:allow-other-keys)
  102. ;; One of the tests tests timezone-dependent functions.
  103. (setenv "TZDIR"
  104. (string-append (assoc-ref inputs "tzdata")
  105. "/share/zoneinfo"))
  106. ;; Make sure the TERM environment variable is set for the tests
  107. (setenv "TERM" "xterm")
  108. #t))
  109. (add-before 'check 'skip-failing-tests
  110. (lambda _
  111. ;; This test assumes that PID 1 is run as root and that the user
  112. ;; running the test suite does not have permission to kill(1, 0)
  113. ;; it. This is not true in the build container, where both PID 1
  114. ;; and the test suite are run as the same user. Skip the test.
  115. ;; An alternative fix would be to patch the PID used to a random
  116. ;; 32-bit value and hope it never shows up in the test environment.
  117. (substitute* "src/testdir/test_swap.vim"
  118. (("if !IsRoot\\(\\)") "if 0"))
  119. ;; These tests fail on upstream's CI on FreeBSD because they are
  120. ;; run as root. They fail for us because PID 1 and the test suite
  121. ;; are run by the same user.
  122. (substitute* '("src/testdir/test_backup.vim"
  123. "src/testdir/test_writefile.vim")
  124. (("CheckNotBSD") "throw 'Skipped: this test fails on Guix'")
  125. (("'bsd'") "'unix'"))
  126. ;; This test checks how the terminal looks after executing some
  127. ;; actions. The path of the bash binary is shown, which results in
  128. ;; a difference being detected. Patching the expected result is
  129. ;; non-trivial due to the special format used, so skip the test.
  130. (substitute* "src/testdir/test_terminal.vim"
  131. ((".*Test_terminal_postponed_scrollback.*" line)
  132. (string-append line "return\n")))
  133. #t)))))
  134. (inputs
  135. `(("gawk" ,gawk)
  136. ("ncurses" ,ncurses)
  137. ("perl" ,perl)
  138. ("tcsh" ,tcsh))) ; For runtime/tools/vim32
  139. (native-inputs
  140. `(("libtool" ,libtool)
  141. ;; For tests.
  142. ("tzdata" ,tzdata-for-tests)))
  143. (home-page "https://www.vim.org/")
  144. (synopsis "Text editor based on vi")
  145. ;; The description shares language with the vim-full package. When making
  146. ;; changes, check if the other description also needs to be updated.
  147. (description
  148. "Vim is a highly configurable text editor built to enable efficient text
  149. editing. It is an improved version of the vi editor distributed with most UNIX
  150. systems.
  151. Vim is often called a \"programmer's editor,\" and so useful for programming
  152. that many consider it an entire IDE. It's not just for programmers, though.
  153. Vim is perfect for all kinds of text editing, from composing email to editing
  154. configuration files.")
  155. (license license:vim)))
  156. (define-public xxd
  157. (package (inherit vim)
  158. (name "xxd")
  159. (arguments
  160. `(#:make-flags '("CC=gcc")
  161. #:tests? #f ; there are none
  162. #:phases
  163. (modify-phases %standard-phases
  164. (delete 'configure)
  165. (add-after 'unpack 'chdir
  166. (lambda _
  167. (chdir "src/xxd")
  168. #t))
  169. (replace 'install
  170. (lambda* (#:key outputs #:allow-other-keys)
  171. (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
  172. (install-file "xxd" bin)
  173. #t))))))
  174. (inputs `())
  175. (native-inputs `())
  176. (synopsis "Hexdump utility from vim")
  177. (description "This package provides the Hexdump utility xxd that comes
  178. with the editor vim.")))
  179. (define-public vim-full
  180. (package
  181. ;; This package should share its source with Vim, but it doesn't
  182. ;; build reliably, and we want to keep Vim up to date due to the
  183. ;; frequency of important bug fixes.
  184. (inherit vim)
  185. (name "vim-full")
  186. (arguments
  187. `(#:configure-flags
  188. (list (string-append "--with-lua-prefix="
  189. (assoc-ref %build-inputs "lua"))
  190. "--with-features=huge"
  191. "--enable-python3interp=yes"
  192. "--enable-perlinterp=yes"
  193. "--enable-rubyinterp=yes"
  194. "--enable-tclinterp=yes"
  195. "--enable-luainterp=yes"
  196. "--enable-cscope"
  197. "--enable-sniff"
  198. "--enable-multibyte"
  199. "--enable-xim"
  200. "--disable-selinux"
  201. "--enable-gui")
  202. ;; This flag fixes the following error:
  203. ;; .../libpython3.7m.a(pyexpat.o): undefined reference to symbol 'XML_FreeContentModel'
  204. ;; .../libexpat.so.1: error adding symbols: DSO missing from command line
  205. #:make-flags '("LDFLAGS=-lexpat")
  206. ,@(substitute-keyword-arguments (package-arguments vim)
  207. ((#:phases phases)
  208. `(modify-phases ,phases
  209. (add-before 'check 'start-xserver
  210. (lambda* (#:key inputs #:allow-other-keys)
  211. ;; Some tests require an X server, but does not start one.
  212. (let ((xorg-server (assoc-ref inputs "xorg-server"))
  213. (display ":1"))
  214. (setenv "DISPLAY" display)
  215. (zero? (system (string-append xorg-server "/bin/Xvfb "
  216. display " &")))))))))))
  217. (native-inputs
  218. `(("pkg-config" ,pkg-config)
  219. ("xorg-server" ,xorg-server-for-tests)
  220. ,@(package-native-inputs vim)))
  221. (inputs
  222. `(("acl" ,acl)
  223. ("atk" ,atk)
  224. ("attr" ,attr)
  225. ("cairo" ,cairo)
  226. ("fontconfig" ,fontconfig)
  227. ("freetype" ,freetype)
  228. ("gdk-pixbuf" ,gdk-pixbuf)
  229. ("gettext" ,gettext-minimal)
  230. ("glib" ,glib)
  231. ("gpm" ,gpm)
  232. ("gtk" ,gtk+-2)
  233. ("harfbuzz" ,harfbuzz)
  234. ("libice" ,libice)
  235. ("libpng" ,libpng)
  236. ("libsm" ,libsm)
  237. ("libx11" ,libx11)
  238. ("libxdmcp" ,libxdmcp)
  239. ("libxt" ,libxt)
  240. ("libxpm" ,libxpm)
  241. ("lua" ,lua)
  242. ("pango" ,pango)
  243. ("pixman" ,pixman)
  244. ("python-3" ,python)
  245. ("ruby" ,ruby)
  246. ("tcl" ,tcl)
  247. ,@(package-inputs vim)))
  248. ;; The description shares language with the vim package. When making
  249. ;; changes, check if the other description also needs to be updated.
  250. (description "Vim is a highly configurable text editor built to enable efficient text
  251. editing. It is an improved version of the vi editor distributed with most UNIX
  252. systems.
  253. Vim is often called a \"programmer's editor,\" and so useful for programming
  254. that many consider it an entire IDE. It's not just for programmers, though.
  255. Vim is perfect for all kinds of text editing, from composing email to editing
  256. configuration files.
  257. This package provides a version of Vim with many optional features enabled.
  258. It includes a graphical interface, @command{gvim}, and support for plugins
  259. written in the Python 3, Perl, Ruby, Tcl, and Lua programming languages.")))
  260. (define-public vim-neocomplete
  261. (package
  262. (name "vim-neocomplete")
  263. (version "2.1")
  264. (source
  265. (origin
  266. (method git-fetch)
  267. (uri (git-reference
  268. (url "https://github.com/Shougo/neocomplete.vim")
  269. (commit (string-append "ver." version))))
  270. (file-name (git-file-name name version))
  271. (sha256
  272. (base32
  273. "1h6sci5mhdfg6sjsjpi8l5li02hg858zcayiwl60y9j2gqnd18lv"))))
  274. (build-system copy-build-system)
  275. (arguments
  276. '(#:install-plan
  277. '(("autoload" "share/vim/vimfiles/")
  278. ("doc" "share/vim/vimfiles/")
  279. ("plugin" "share/vim/vimfiles/"))))
  280. (synopsis "Next generation completion framework for Vim")
  281. (description
  282. "@code{neocomplete}, an abbreviation of 'neo-completion with cache',
  283. is a plugin for Vim.
  284. It provides keyword completion system by maintaining a cache of keywords in
  285. the current buffer. Neocomplete can be customized easily and has many more
  286. features than Vim's built-in completion.")
  287. (home-page "https://github.com/Shougo/neocomplete.vim/")
  288. (license license:expat)))
  289. ;; There are no release tarballs.
  290. (define-public vim-neosnippet-snippets
  291. (let ((commit "8e2b1c0cab9ed9a832b3743dbb65e9966a64331a")
  292. (revision "1"))
  293. (package
  294. (name "vim-neosnippet-snippets")
  295. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  296. (source
  297. (origin
  298. (method git-fetch)
  299. (uri (git-reference
  300. (url "https://github.com/Shougo/neosnippet-snippets")
  301. (commit commit)))
  302. (file-name (string-append name "-" version "-checkout"))
  303. (sha256
  304. (base32
  305. "151wpvbj6jb9jdkbhj3b77f5sq7y328spvwfbqyj1y32rg4ifmc6"))))
  306. (build-system copy-build-system)
  307. (arguments
  308. '(#:install-plan
  309. '(("neosnippets" "share/vim/vimfiles/"))))
  310. (synopsis "Snippets for neosnippet")
  311. (description
  312. "@code{neosnippet-snippets} provides standard snippets for the Vim plugin
  313. @code{neosnippet}. Snippets are small templates for commonly used code that
  314. you can fill in on the fly.")
  315. (home-page "https://github.com/Shougo/neosnippet-snippets")
  316. (license license:expat))))
  317. ;; The released tarball is too old for our Vim.
  318. (define-public vim-neosnippet
  319. (let ((commit "1bd7e23c79b73da16eb0c9469b25c376d3594583")
  320. (revision "1"))
  321. (package
  322. (name "vim-neosnippet")
  323. (version (string-append "4.2-" revision "." (string-take commit 7)))
  324. (source
  325. (origin
  326. (method git-fetch)
  327. (uri (git-reference
  328. (url "https://github.com/Shougo/neosnippet.vim/")
  329. (commit commit)))
  330. (file-name (string-append name "-" version "-checkout"))
  331. (sha256
  332. (base32
  333. "0k80syscmpnj38ks1fq02ds59g0r4jlg9ll7z4qc048mgi35alw5"))))
  334. (build-system copy-build-system)
  335. (arguments
  336. '(#:install-plan
  337. '(("autoload" "share/vim/vimfiles/")
  338. ("doc" "share/vim/vimfiles/")
  339. ("ftdetect" "share/vim/vimfiles/")
  340. ("ftplugin" "share/vim/vimfiles/")
  341. ("indent" "share/vim/vimfiles/")
  342. ("plugin" "share/vim/vimfiles/")
  343. ("rplugin" "share/vim/vimfiles/")
  344. ("syntax" "share/vim/vimfiles/"))))
  345. (synopsis "Snippet support for Vim")
  346. (description
  347. "@code{neosnippet}, is a plugin for Vim which adds snippet support to Vim.
  348. Snippets are small templates for commonly used code that you can fill in on
  349. the fly. To use snippets can increase your productivity in Vim a lot.
  350. The functionality of this plug-in is quite similar to plug-ins like
  351. @code{snipMate.vim} or @code{snippetsEmu.vim}. But since you can choose
  352. snippets with the neocomplcache / neocomplete interface, you might have less
  353. trouble using them, because you do not have to remember each snippet name.")
  354. (home-page "https://github.com/Shougo/neosnippet.vim/")
  355. (license license:expat))))
  356. (define-public vim-scheme
  357. (let ((commit "93827987c10f2d5dc519166a761f219204926d5f")
  358. (revision "1"))
  359. (package
  360. (name "vim-scheme")
  361. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  362. (source
  363. (origin
  364. (method git-fetch)
  365. (uri (git-reference
  366. (url "http://git.foldling.org/vim-scheme.git")
  367. (commit commit)))
  368. (file-name (string-append name "-" version "-checkout"))
  369. (sha256
  370. (base32
  371. "1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv"))))
  372. (build-system copy-build-system)
  373. (arguments
  374. '(#:install-plan
  375. '(("after" "share/vim/vimfiles/")
  376. ("ftplugin" "share/vim/vimfiles/")
  377. ("syntax" "share/vim/vimfiles/"))))
  378. (synopsis "Scheme syntax for Vim")
  379. (description
  380. "@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")
  381. (home-page "https://foldling.org/git/vim-scheme.git/")
  382. (license license:public-domain))))
  383. (define-public vim-luna
  384. (let ((commit "633619953dcf8577168e255230f96b05f28d6371")
  385. (revision "1"))
  386. (package
  387. (name "vim-luna")
  388. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  389. (source
  390. (origin
  391. (method git-fetch)
  392. (uri (git-reference
  393. (url "https://github.com/notpratheek/vim-luna")
  394. (commit commit)))
  395. (file-name (string-append name "-" version "-checkout"))
  396. (sha256
  397. (base32
  398. "0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
  399. (build-system copy-build-system)
  400. (arguments
  401. '(#:install-plan
  402. '(("colors" "share/vim/vimfiles/"))))
  403. (synopsis "Dark color theme for Vim")
  404. (description
  405. "@code{vim-luna} is a dark color theme for Vim.")
  406. (home-page "https://github.com/notpratheek/vim-luna")
  407. (license license:expat))))
  408. ;; There are no tarball releases.
  409. (define-public vim-context-filetype
  410. (let ((commit "5e85f8cae26806f391aefe2661791a6de53bcea2")
  411. (revision "1"))
  412. (package
  413. (name "vim-context-filetype")
  414. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  415. (source
  416. (origin
  417. (method git-fetch)
  418. (uri (git-reference
  419. (url "https://github.com/Shougo/context_filetype.vim")
  420. (commit commit)))
  421. (file-name (string-append name "-" version "-checkout"))
  422. (sha256
  423. (base32
  424. "0alvrfhmd91zkd9h83s8wvgyq4iakcf6rybsyjd369qbgpcqky89"))))
  425. (build-system copy-build-system)
  426. (arguments
  427. '(#:install-plan
  428. '(("doc" "share/vim/vimfiles/")
  429. ("autoload" "share/vim/vimfiles/"))))
  430. (synopsis "Context filetype library for Vim")
  431. (description
  432. "@code{vim-context-filetype} is context filetype library for Vim script.")
  433. (home-page "https://github.com/Shougo/context_filetype.vim")
  434. (license license:expat)))) ; ??? check again
  435. (define-public vim-fugitive
  436. (package
  437. (name "vim-fugitive")
  438. (version "3.2")
  439. (source
  440. (origin
  441. (method git-fetch)
  442. (uri (git-reference
  443. (url "https://github.com/tpope/vim-fugitive")
  444. (commit (string-append "v" version))))
  445. (file-name (git-file-name name version))
  446. (sha256
  447. (base32
  448. "1jbn5jxadccmcz01j94d0i1bp74cixr0fpxxf1h0aqdf1ljk3d7n"))))
  449. (build-system copy-build-system)
  450. (arguments
  451. '(#:install-plan
  452. '(("autoload" "share/vim/vimfiles/")
  453. ("doc" "share/vim/vimfiles/")
  454. ("ftdetect" "share/vim/vimfiles/")
  455. ("plugin" "share/vim/vimfiles/")
  456. ("syntax" "share/vim/vimfiles/"))))
  457. (home-page "https://github.com/tpope/vim-fugitive")
  458. (synopsis "Vim plugin to work with Git")
  459. (description "Vim-fugitive is a wrapper for Vim that complements the
  460. command window, where you can stage and review your changes before the next
  461. commit or run any Git arbitrary command.")
  462. (license license:vim))) ; distributed under the same license as vim
  463. (define-public vim-airline
  464. (package
  465. (name "vim-airline")
  466. (version "0.11")
  467. (source
  468. (origin
  469. (method git-fetch)
  470. (uri (git-reference
  471. (url "https://github.com/vim-airline/vim-airline")
  472. (commit (string-append "v" version))))
  473. (file-name (git-file-name name version))
  474. (sha256
  475. (base32
  476. "1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k"))))
  477. (build-system copy-build-system)
  478. (arguments
  479. '(#:install-plan
  480. '(("autoload" "share/vim/vimfiles/")
  481. ("doc" "share/vim/vimfiles/")
  482. ("plugin" "share/vim/vimfiles/")
  483. ("t" "share/vim/vimfiles/"))))
  484. (synopsis "Statusline for Vim")
  485. (description
  486. "@code{vim-airline} is an extensible statusline for Vim.
  487. It can be extended and costumized with themes, works with unicode fonts
  488. and powerline symbols, etc.")
  489. (home-page "https://github.com/vim-airline/vim-airline")
  490. (license license:expat)))
  491. ;; There are no tarball releases.
  492. (define-public vim-airline-themes
  493. (let ((commit "e6f233231b232b6027cde6aebeeb18d9138e5324")
  494. (revision "2"))
  495. (package
  496. (name "vim-airline-themes")
  497. (version (git-version "0.0.0" revision commit))
  498. (source
  499. (origin
  500. (method git-fetch)
  501. (uri (git-reference
  502. (url "https://github.com/vim-airline/vim-airline-themes")
  503. (commit commit)))
  504. (file-name (git-file-name name version))
  505. (sha256
  506. (base32
  507. "1sb7nb7j7bz0pv1c9bgdy0smhr0jk2b1vbdv9yzghg5lrknpsbr6"))))
  508. (build-system copy-build-system)
  509. (arguments
  510. '(#:install-plan
  511. '(("autoload" "share/vim/vimfiles/")
  512. ("doc" "share/vim/vimfiles/")
  513. ("plugin" "share/vim/vimfiles/"))))
  514. (synopsis "Collection of themes for Vim-airline")
  515. (description
  516. "@code{vim-airline-themes} is a collection of themes for @code{vim-airline}.")
  517. (home-page "https://github.com/vim-airline/vim-airline-themes")
  518. (license license:expat))))
  519. (define-public vim-syntastic
  520. (package
  521. (name "vim-syntastic")
  522. (version "3.10.0")
  523. (source
  524. (origin
  525. (method git-fetch)
  526. (uri (git-reference
  527. (url "https://github.com/vim-syntastic/syntastic")
  528. (commit version)))
  529. (file-name (git-file-name name version))
  530. (sha256
  531. (base32 "0j91f72jaz1s6aw1hpjiz30vk2ds2aqd9gisk91grsldy6nz6hhz"))))
  532. (build-system copy-build-system)
  533. (arguments
  534. '(#:install-plan
  535. '(("autoload" "share/vim/vimfiles/")
  536. ("doc" "share/vim/vimfiles/")
  537. ("plugin" "share/vim/vimfiles/")
  538. ("syntax_checkers" "share/vim/vimfiles/"))))
  539. (synopsis "Syntax checking plugin for Vim")
  540. (description
  541. "Vim-syntastic is a syntax checking plugin for Vim. It runs files through
  542. external syntax checkers and displays any resulting errors to the user. This
  543. can be done on demand, or automatically as files are saved. If syntax errors
  544. are detected, the user is notified.")
  545. (home-page "https://github.com/vim-syntastic/syntastic")
  546. (license license:wtfpl2)))
  547. (define-public editorconfig-vim
  548. (package
  549. (name "editorconfig-vim")
  550. (version "0.3.3")
  551. (source
  552. (origin
  553. (method git-fetch)
  554. (uri (git-reference
  555. (url "https://github.com/editorconfig/editorconfig-vim")
  556. (commit (string-append "v" version))))
  557. (file-name (git-file-name name version))
  558. (sha256
  559. (base32
  560. "0vssfl1wjq0mv0p30c3dszwrh4yy90vwxmmdgqaxf5rykik7bdfd"))
  561. (modules '((guix build utils)))
  562. (snippet
  563. '(begin
  564. (delete-file-recursively "plugin/editorconfig-core-py") #t))))
  565. (build-system copy-build-system)
  566. (arguments
  567. '(#:phases
  568. (modify-phases %standard-phases
  569. (add-after 'unpack 'patch-editorconfig-path
  570. (lambda* (#:key inputs #:allow-other-keys)
  571. (let ((editorconfig (assoc-ref inputs "editorconfig-core")))
  572. (substitute* "plugin/editorconfig.vim"
  573. (("/opt") editorconfig))
  574. #t))))
  575. #:install-plan
  576. '(("autoload" "share/vim/vimfiles/")
  577. ("doc" "share/vim/vimfiles/")
  578. ("plugin" "share/vim/vimfiles/"))))
  579. (inputs
  580. `(("editorconfig-core" ,editorconfig-core-c)))
  581. (home-page "https://editorconfig.org/")
  582. (synopsis "EditorConfig plugin for Vim")
  583. (description "EditorConfig makes it easy to maintain the correct coding
  584. style when switching between different text editors and between different
  585. projects. The EditorConfig project maintains a file format and plugins for
  586. various text editors which allow this file format to be read and used by those
  587. editors.")
  588. (license license:bsd-2)))
  589. (define-public neovim-syntastic
  590. (package
  591. (inherit vim-syntastic)
  592. (name "neovim-syntastic")
  593. (arguments
  594. '(#:install-plan
  595. '(("autoload" "share/nvim/site/")
  596. ("doc" "share/nvim/site/")
  597. ("plugin" "share/nvim/site/")
  598. ("syntax_checkers" "share/nvim/site/"))))
  599. (synopsis "Syntax checking plugin for Neovim")
  600. (description
  601. "Vim-syntastic is a syntax checking plugin for Neovim. It runs files through
  602. external syntax checkers and displays any resulting errors to the user. This
  603. can be done on demand, or automatically as files are saved. If syntax errors
  604. are detected, the user is notified.")))
  605. (define-public neovim
  606. (package
  607. (name "neovim")
  608. (version "0.4.3")
  609. (source
  610. (origin
  611. (method git-fetch)
  612. (uri (git-reference
  613. (url "https://github.com/neovim/neovim")
  614. (commit (string-append "v" version))))
  615. (file-name (git-file-name name version))
  616. (sha256
  617. (base32 "03p7pic7hw9yxxv7fbgls1f42apx3lik2k6mpaz1a109ngyc5kaj"))))
  618. (build-system cmake-build-system)
  619. (arguments
  620. `(#:modules ((srfi srfi-26)
  621. (guix build cmake-build-system)
  622. (guix build utils))
  623. #:configure-flags '("-DPREFER_LUA:BOOL=YES")
  624. #:phases
  625. (modify-phases %standard-phases
  626. (add-after 'unpack 'set-lua-paths
  627. (lambda* (#:key inputs #:allow-other-keys)
  628. (let* ((lua-version "5.1")
  629. (lua-cpath-spec
  630. (lambda (prefix)
  631. (let ((path (string-append prefix "/lib/lua/" lua-version)))
  632. (string-append path "/?.so;" path "/?/?.so"))))
  633. (lua-path-spec
  634. (lambda (prefix)
  635. (let ((path (string-append prefix "/share/lua/" lua-version)))
  636. (string-append path "/?.lua;" path "/?/?.lua"))))
  637. (lua-inputs (map (cute assoc-ref %build-inputs <>)
  638. '("lua"
  639. "lua-luv"
  640. "lua-lpeg"
  641. "lua-bitop"
  642. "lua-libmpack"))))
  643. (setenv "LUA_PATH"
  644. (string-join (map lua-path-spec lua-inputs) ";"))
  645. (setenv "LUA_CPATH"
  646. (string-join (map lua-cpath-spec lua-inputs) ";"))
  647. #t)))
  648. (add-after 'unpack 'prevent-embedding-gcc-store-path
  649. (lambda _
  650. ;; nvim remembers its build options, including the compiler with
  651. ;; its complete path. This adds gcc to the closure of nvim, which
  652. ;; doubles its size. We remove the refirence here.
  653. (substitute* "cmake/GetCompileFlags.cmake"
  654. (("\\$\\{CMAKE_C_COMPILER\\}") "/gnu/store/.../bin/gcc"))
  655. #t)))))
  656. (inputs
  657. `(("libuv" ,libuv)
  658. ("msgpack" ,msgpack)
  659. ("libtermkey" ,libtermkey)
  660. ("libvterm" ,libvterm)
  661. ("unibilium" ,unibilium)
  662. ("jemalloc" ,jemalloc)
  663. ("libiconv" ,libiconv)
  664. ("lua" ,lua-5.1)
  665. ("lua-luv" ,lua5.1-luv)
  666. ("lua-lpeg" ,lua5.1-lpeg)
  667. ("lua-bitop" ,lua5.1-bitop)
  668. ("lua-libmpack" ,lua5.1-libmpack)))
  669. (native-inputs
  670. `(("pkg-config" ,pkg-config)
  671. ("gettext" ,gettext-minimal)
  672. ("gperf" ,gperf)))
  673. (home-page "https://neovim.io")
  674. (synopsis "Fork of vim focused on extensibility and agility")
  675. (description "Neovim is a project that seeks to aggressively
  676. refactor Vim in order to:
  677. @itemize
  678. @item Simplify maintenance and encourage contributions
  679. @item Split the work between multiple developers
  680. @item Enable advanced external UIs without modifications to the core
  681. @item Improve extensibility with a new plugin architecture
  682. @end itemize\n")
  683. ;; Neovim is licensed under the terms of the Apache 2.0 license,
  684. ;; except for parts that were contributed under the Vim license.
  685. (license (list license:asl2.0 license:vim))))
  686. (define-public vifm
  687. (package
  688. (name "vifm")
  689. (version "0.10.1")
  690. (source
  691. (origin
  692. (method url-fetch)
  693. (uri (list
  694. (string-append "https://github.com/vifm/vifm/releases/download/v"
  695. version "/vifm-" version ".tar.bz2")
  696. (string-append "https://sourceforge.net/projects/vifm/files/vifm/"
  697. "vifm-" version ".tar.bz2")))
  698. (sha256
  699. (base32
  700. "0fyhxh7ndjn8fyjhj14ymkr3pjcs3k1xbs43g7xvvq85vdb6y04r"))))
  701. (build-system gnu-build-system)
  702. (arguments
  703. '(#:configure-flags '("--disable-build-timestamp")
  704. #:phases
  705. (modify-phases %standard-phases
  706. (add-after 'patch-source-shebangs 'patch-test-shebangs
  707. (lambda _
  708. (substitute* (cons* "src/background.c"
  709. "src/cfg/config.c"
  710. (find-files "tests" "\\.c$"))
  711. (("/bin/sh") (which "sh"))
  712. (("/bin/bash") (which "bash")))
  713. ;; This test segfaults
  714. (substitute* "tests/Makefile"
  715. (("misc") ""))
  716. #t))
  717. (add-after 'install 'install-vim-plugin-files
  718. (lambda* (#:key outputs #:allow-other-keys)
  719. (let* ((out (assoc-ref outputs "out"))
  720. (vifm (string-append out "/share/vifm"))
  721. (vimfiles (string-append out "/share/vim/vimfiles")))
  722. (copy-recursively (string-append vifm "/colors")
  723. (string-append vimfiles "/colors"))
  724. (copy-recursively (string-append vifm "/vim")
  725. vimfiles)
  726. (delete-file-recursively (string-append vifm "/colors"))
  727. (delete-file-recursively (string-append vifm "/vim")))
  728. #t)))))
  729. (native-inputs
  730. `(("groff" ,groff))) ; for the documentation
  731. (inputs
  732. `(("libx11" ,libx11)
  733. ("ncurses" ,ncurses)
  734. ("perl" ,perl)))
  735. (home-page "https://vifm.info/")
  736. (synopsis "Flexible vi-like file manager using ncurses")
  737. (description "Vifm is a file manager providing a @command{vi}-like usage
  738. experience. It has similar keybindings and modes (e.g. normal, command line,
  739. visual). The interface uses ncurses, thus vifm can be used in text-only
  740. environments. It supports a wide range of features, some of which are known
  741. from the @command{vi}-editor:
  742. @enumerate
  743. @item utf8 support
  744. @item user mappings (almost like in @code{vi})
  745. @item ranges in command
  746. @item line commands
  747. @item user defined commands (with support for ranges)
  748. @item registers
  749. @item operation undoing/redoing
  750. @item fuse file systems support
  751. @item trash
  752. @item multiple files renaming
  753. @item support of filename modifiers
  754. @item colorschemes support
  755. @item file name color according to file type
  756. @item path specific colorscheme customization
  757. @item bookmarks
  758. @item operation backgrounding
  759. @item customizable file viewers
  760. @item handy @code{less}-like preview mode
  761. @item filtering out and searching for files using regular expressions
  762. @item one or two panes view
  763. @end enumerate
  764. With the package comes a plugin to use vifm as a vim file selector.")
  765. (license license:gpl2+)))
  766. (define-public python-pynvim
  767. (package
  768. (name "python-pynvim")
  769. (version "0.4.1")
  770. (source (origin
  771. (method url-fetch)
  772. (uri (pypi-uri "pynvim" version))
  773. (sha256
  774. (base32
  775. "0n2cx22lrmbq7xk7356lyn6k77ryqvkxplw9k0fglk35ckb1isam"))))
  776. (build-system python-build-system)
  777. (propagated-inputs
  778. `(("python-greenlet" ,python-greenlet)
  779. ("python-msgpack" ,python-msgpack)))
  780. (arguments
  781. `(#:tests? #f))
  782. (home-page "https://github.com/neovim/pynvim")
  783. (synopsis "Python client and plugin host for neovim")
  784. (description "Pynvim implements support for python plugins in neovim. It
  785. also works as a library for connecting to and scripting neovim processes
  786. through its msgpack-rpc API.")
  787. (license license:asl2.0)))
  788. (define-public python2-pynvim
  789. (package-with-python2 python-pynvim))
  790. (define-public vim-guix-vim
  791. (package
  792. (name "vim-guix-vim")
  793. (version "0.1")
  794. (source (origin
  795. (method git-fetch)
  796. (uri (git-reference
  797. (url "https://gitlab.com/Efraim/guix.vim")
  798. (commit version)))
  799. (file-name (git-file-name name version))
  800. (sha256
  801. (base32
  802. "1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))))
  803. (build-system copy-build-system)
  804. (arguments
  805. '(#:install-plan
  806. '(("compiler" "share/vim/vimfiles/")
  807. ("doc" "share/vim/vimfiles/")
  808. ("indent" "share/vim/vimfiles/")
  809. ("ftdetect" "share/vim/vimfiles/")
  810. ("ftplugin" "share/vim/vimfiles/")
  811. ("syntax" "share/vim/vimfiles/"))))
  812. (home-page "https://gitlab.com/Efraim/guix.vim")
  813. (synopsis "Guix integration in Vim")
  814. (description "This package provides support for GNU Guix in Vim.")
  815. (license license:vim)))
  816. (define-public vim-asyncrun
  817. (package
  818. (name "vim-asyncrun")
  819. (version "2.7.5")
  820. (source (origin
  821. (method git-fetch)
  822. (uri (git-reference
  823. (url "https://github.com/skywind3000/asyncrun.vim")
  824. (commit version)))
  825. (file-name (git-file-name name version))
  826. (sha256
  827. (base32
  828. "02fiqf4rcrxbcgvj02mpd78wkxsrnbi54aciwh9fv5mnz5ka249m"))))
  829. (build-system copy-build-system)
  830. (arguments
  831. '(#:install-plan
  832. '(("plugin" "share/vim/vimfiles/")
  833. ("doc/" "share/vim/vimfiles/doc" #:include ("asyncrun.txt")))))
  834. (home-page "https://github.com/skywind3000/asyncrun.vim")
  835. (synopsis "Run Async Shell Commands in Vim")
  836. (description "This plugin takes the advantage of new APIs in Vim 8 (and
  837. NeoVim) to enable you to run shell commands in background and read output in the
  838. quickfix window in realtime.")
  839. (license license:expat)))
  840. (define-public vim-dispatch
  841. (package
  842. (name "vim-dispatch")
  843. (version "1.8")
  844. (source
  845. (origin
  846. (method git-fetch)
  847. (uri (git-reference
  848. (url "https://github.com/tpope/vim-dispatch")
  849. (commit (string-append "v" version))))
  850. (file-name (git-file-name name version))
  851. (sha256
  852. (base32
  853. "1m8b5mn2zqlphzs6xfwykwmghf6p0wabrhpjmh7vav35jgcxc4wl"))))
  854. (build-system copy-build-system)
  855. (arguments
  856. '(#:install-plan
  857. '(("autoload" "share/vim/vimfiles/")
  858. ("doc" "share/vim/vimfiles/")
  859. ("plugin" "share/vim/vimfiles/"))))
  860. (home-page "https://github.com/tpope/vim-dispatch")
  861. (synopsis "Asynchronous build and test dispatcher")
  862. (description "Leverage the power of Vim's compiler plugins without being
  863. bound by synchronicity. Kick off builds and test suites using one of several
  864. asynchronous adapters (including tmux, screen, and a headless mode), and when
  865. the job completes, errors will be loaded and parsed automatically.")
  866. (license license:vim)))
  867. (define-public vim-eunuch
  868. (let ((commit "33e875b31c8b811a0a47908884a5e2339106bbe8")
  869. (revision "1"))
  870. (package
  871. (name "vim-eunuch")
  872. (version (git-version "1.2" revision commit))
  873. (source
  874. (origin
  875. (method git-fetch)
  876. (uri (git-reference
  877. (url "https://github.com/tpope/vim-eunuch")
  878. (commit commit)))
  879. (file-name (git-file-name name version))
  880. (sha256
  881. (base32
  882. "1xadb22kd40swmww0qxmmkcpcq6viy8l167pjck5q32hfngll5d3"))))
  883. (build-system copy-build-system)
  884. (arguments
  885. '(#:install-plan
  886. '(("doc" "share/vim/vimfiles/")
  887. ("plugin" "share/vim/vimfiles/"))))
  888. (home-page "https://github.com/tpope/vim-eunuch")
  889. (synopsis "Vim sugar for the UNIX shell commands")
  890. (description "Vim sugar for the UNIX shell commands that need it the most.
  891. This package includes commands such as @code{SudoWrite} and @code{SudoEdit} and
  892. help working on Vim buffers and the files they reference with one command.")
  893. (license license:vim))))