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.

882 lines
34 KiB

gnu: packages: Use 'search-patches' everywhere. * gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field. * gnu/packages/acl.scm: Likewise. * gnu/packages/admin.scm: Likewise. * gnu/packages/algebra.scm: Likewise. * gnu/packages/animation.scm: Likewise. * gnu/packages/apr.scm: Likewise. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/autotools.scm: Likewise. * gnu/packages/avahi.scm: Likewise. * gnu/packages/backup.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bash.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/ci.scm: Likewise. * gnu/packages/cmake.scm: Likewise. * gnu/packages/cpio.scm: Likewise. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/dico.scm: Likewise. * gnu/packages/doxygen.scm: Likewise. * gnu/packages/ebook.scm: Likewise. * gnu/packages/elf.scm: Likewise. * gnu/packages/emacs.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fltk.scm: Likewise. * gnu/packages/ftp.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gawk.scm: Likewise. * gnu/packages/gcc.scm: Likewise. * gnu/packages/gd.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/glib.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/gnunet.scm: Likewise. * gnu/packages/gnupg.scm: Likewise. * gnu/packages/gnuzilla.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/grub.scm: Likewise. * gnu/packages/gtk.scm: Likewise. * gnu/packages/guile.scm: Likewise. * gnu/packages/icu4c.scm: Likewise. * gnu/packages/idutils.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/imagemagick.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/ldc.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libevent.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libunwind.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/llvm.scm: Likewise. * gnu/packages/lsh.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/lxqt.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/mit-krb5.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/multiprecision.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/ninja.scm: Likewise. * gnu/packages/nvi.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/orpheus.scm: Likewise. * gnu/packages/ots.scm: Likewise. * gnu/packages/parallel.scm: Likewise. * gnu/packages/patchutils.scm: Likewise. * gnu/packages/pcre.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/plotutils.scm: Likewise. * gnu/packages/polkit.scm: Likewise. * gnu/packages/pulseaudio.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/qemu.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/rdf.scm: Likewise. * gnu/packages/readline.scm: Likewise. * gnu/packages/rush.scm: Likewise. * gnu/packages/scheme.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/slim.scm: Likewise. * gnu/packages/ssh.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/tcsh.scm: Likewise. * gnu/packages/texinfo.scm: Likewise. * gnu/packages/tls.scm: Likewise. * gnu/packages/tor.scm: Likewise. * gnu/packages/tv.scm: Likewise. * gnu/packages/valgrind.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/vpn.scm: Likewise. * gnu/packages/vtk.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wicd.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xfce.scm: Likewise. * gnu/packages/xiph.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/packages/zip.scm: Likewise.
6 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 ".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
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 years ago
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 years ago
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 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
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 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
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
  3. ;;; Copyright © 2014 Raimon Grau <raimonster@gmail.com>
  4. ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
  5. ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
  6. ;;; Copyright © 2016, 2017, 2020 Efraim Flashner <efraim@flashner.co.il>
  7. ;;; Copyright © 2016, 2019 Ricardo Wurmus <rekado@elephly.net>
  8. ;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
  9. ;;; Copyright © 2016, 2017, 2019 Clément Lassieur <clement@lassieur.org>
  10. ;;; Copyright © 2016 José Miguel Sánchez García <jmi2k@openmailbox.org>
  11. ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
  12. ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
  13. ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
  14. ;;; Copyright © 2020 Simon South <simon@simonsouth.net>
  15. ;;;
  16. ;;; This file is part of GNU Guix.
  17. ;;;
  18. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  19. ;;; under the terms of the GNU General Public License as published by
  20. ;;; the Free Software Foundation; either version 3 of the License, or (at
  21. ;;; your option) any later version.
  22. ;;;
  23. ;;; GNU Guix is distributed in the hope that it will be useful, but
  24. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  25. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. ;;; GNU General Public License for more details.
  27. ;;;
  28. ;;; You should have received a copy of the GNU General Public License
  29. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  30. (define-module (gnu packages lua)
  31. #:use-module ((guix licenses) #:prefix license:)
  32. #:use-module (guix packages)
  33. #:use-module (guix download)
  34. #:use-module (guix git-download)
  35. #:use-module (guix utils)
  36. #:use-module (guix build-system gnu)
  37. #:use-module (guix build-system cmake)
  38. #:use-module (guix build-system trivial)
  39. #:use-module (gnu packages)
  40. #:use-module (gnu packages readline)
  41. #:use-module (gnu packages m4)
  42. #:use-module (gnu packages tls)
  43. #:use-module (gnu packages xml)
  44. #:use-module (gnu packages glib)
  45. #:use-module (gnu packages libevent)
  46. #:use-module (gnu packages libffi)
  47. #:use-module (gnu packages pkg-config)
  48. #:use-module (gnu packages xorg)
  49. #:use-module (gnu packages gtk))
  50. (define-public lua
  51. (package
  52. (name "lua")
  53. (version "5.3.5")
  54. (source (origin
  55. (method url-fetch)
  56. (uri (string-append "https://www.lua.org/ftp/lua-"
  57. version ".tar.gz"))
  58. (sha256
  59. (base32 "1b2qn2rv96nmbm6zab4l877bd4zq7wpwm8drwjiy2ih4jqzysbhc"))
  60. (patches (search-patches "lua-pkgconfig.patch"
  61. "lua-liblua-so.patch"))))
  62. (build-system gnu-build-system)
  63. (inputs `(("readline" ,readline)))
  64. (arguments
  65. '(#:modules ((guix build gnu-build-system)
  66. (guix build utils)
  67. (srfi srfi-1))
  68. #:test-target "test"
  69. #:make-flags
  70. '("MYCFLAGS=-fPIC -DLUA_DL_DLOPEN"
  71. "linux")
  72. #:phases
  73. (modify-phases %standard-phases
  74. (delete 'configure)
  75. (replace 'install
  76. (lambda* (#:key outputs #:allow-other-keys)
  77. (let ((out (assoc-ref outputs "out")))
  78. (invoke "make" "install"
  79. (string-append "INSTALL_TOP=" out)
  80. (string-append "INSTALL_MAN=" out
  81. "/share/man/man1"))))))))
  82. (home-page "https://www.lua.org/")
  83. (synopsis "Embeddable scripting language")
  84. (description
  85. "Lua is a powerful, fast, lightweight, embeddable scripting language. Lua
  86. combines simple procedural syntax with powerful data description constructs
  87. based on associative arrays and extensible semantics. Lua is dynamically typed,
  88. runs by interpreting bytecode for a register-based virtual machine, and has
  89. automatic memory management with incremental garbage collection, making it ideal
  90. for configuration, scripting, and rapid prototyping.")
  91. (license license:x11)))
  92. (define-public lua-5.2
  93. (package (inherit lua)
  94. (version "5.2.4")
  95. (source
  96. (origin
  97. (method url-fetch)
  98. (uri (string-append "https://www.lua.org/ftp/lua-"
  99. version ".tar.gz"))
  100. (sha256
  101. (base32 "0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr"))
  102. (patches (search-patches "lua-pkgconfig.patch"
  103. "lua-liblua-so.patch"))))))
  104. (define-public lua-5.1
  105. (package (inherit lua)
  106. (version "5.1.5")
  107. (source (origin
  108. (method url-fetch)
  109. (uri (string-append "https://www.lua.org/ftp/lua-"
  110. version ".tar.gz"))
  111. (sha256
  112. (base32 "0cskd4w0g6rdm2q8q3i4n1h3j8kylhs3rq8mxwl9vwlmlxbgqh16"))
  113. (patches (search-patches "lua51-liblua-so.patch"
  114. "lua-CVE-2014-5461.patch"
  115. "lua51-pkgconfig.patch"))))))
  116. (define-public luajit
  117. (package
  118. (name "luajit")
  119. (version "2.1.0-beta3")
  120. (source (origin
  121. (method url-fetch)
  122. (uri (string-append "http://luajit.org/download/LuaJIT-"
  123. version ".tar.gz"))
  124. (sha256
  125. (base32 "1hyrhpkwjqsv54hnnx4cl8vk44h9d6c9w0fz1jfjz00w255y7lhs"))
  126. (patches (search-patches "luajit-no_ldconfig.patch"))))
  127. (build-system gnu-build-system)
  128. (arguments
  129. `(#:tests? #f ; luajit is distributed without tests
  130. #:phases
  131. (modify-phases %standard-phases
  132. (delete 'configure) ; no configure script
  133. (add-after 'install 'create-luajit-symlink
  134. (lambda* (#:key outputs #:allow-other-keys)
  135. (let* ((out (assoc-ref outputs "out"))
  136. (bin (string-append out "/bin")))
  137. (with-directory-excursion bin
  138. (symlink ,(string-append name "-" version)
  139. ,name)
  140. #t)))))
  141. #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
  142. (home-page "https://www.luajit.org/")
  143. (synopsis "Just in time compiler for Lua programming language version 5.1")
  144. (description
  145. "LuaJIT is a Just-In-Time Compiler (JIT) for the Lua
  146. programming language. Lua is a powerful, dynamic and light-weight programming
  147. language. It may be embedded or used as a general-purpose, stand-alone
  148. language.")
  149. (license license:x11)))
  150. (define (make-lua-expat name lua)
  151. (package
  152. (name name)
  153. (version "1.3.0")
  154. (source (origin
  155. (method url-fetch)
  156. (uri (string-append "https://matthewwild.co.uk/projects/"
  157. "luaexpat/luaexpat-" version ".tar.gz"))
  158. (sha256
  159. (base32
  160. "1hvxqngn0wf5642i5p3vcyhg3pmp102k63s9ry4jqyyqc1wkjq6h"))))
  161. (build-system gnu-build-system)
  162. (arguments
  163. `(#:make-flags
  164. (let ((out (assoc-ref %outputs "out"))
  165. (lua-version ,(version-major+minor (package-version lua))))
  166. (list "CC=gcc"
  167. (string-append "LUA_LDIR=" out "/share/lua/" lua-version)
  168. (string-append "LUA_CDIR=" out "/lib/lua/" lua-version)))
  169. #:phases
  170. (modify-phases %standard-phases
  171. (delete 'configure)
  172. (replace 'check
  173. (lambda _
  174. (setenv "LUA_CPATH" "src/?.so;;")
  175. (setenv "LUA_PATH" "src/?.lua;;")
  176. (invoke "lua" "tests/test.lua")
  177. (invoke "lua" "tests/test-lom.lua"))))))
  178. (inputs
  179. `(("lua" ,lua)
  180. ("expat" ,expat)))
  181. (home-page "https://matthewwild.co.uk/projects/luaexpat/")
  182. (synopsis "SAX XML parser based on the Expat library")
  183. (description "LuaExpat is a SAX XML parser based on the Expat library.")
  184. (license (package-license lua-5.1))))
  185. (define-public lua5.1-expat
  186. (make-lua-expat "lua5.1-expat" lua-5.1))
  187. (define-public lua5.2-expat
  188. (make-lua-expat "lua5.2-expat" lua-5.2))
  189. (define (make-lua-socket name lua)
  190. (package
  191. (name name)
  192. (version "3.0-rc1")
  193. (source (origin
  194. (method git-fetch)
  195. (uri (git-reference
  196. (url "https://github.com/diegonehab/luasocket")
  197. (commit (string-append "v" version))))
  198. (file-name (git-file-name name version))
  199. (sha256
  200. (base32
  201. "1chs7z7a3i3lck4x7rz60ziwbf793gw169hpjdfca8y4yf1hzsxk"))))
  202. (build-system gnu-build-system)
  203. (arguments
  204. `(#:make-flags
  205. (let ((out (assoc-ref %outputs "out"))
  206. (lua-version ,(version-major+minor (package-version lua))))
  207. (list (string-append "INSTALL_TOP=" out)
  208. (string-append "LUAV?=" lua-version)))
  209. #:phases
  210. (modify-phases %standard-phases
  211. (delete 'configure)
  212. (replace 'check
  213. (lambda _
  214. (setenv "LUA_CPATH" (string-append "src/?.so." ,version ";;"))
  215. (setenv "LUA_PATH" "src/?.lua;;")
  216. (when (zero? (primitive-fork))
  217. (invoke "lua" "test/testsrvr.lua"))
  218. (invoke "lua" "test/testclnt.lua"))))))
  219. (inputs
  220. `(("lua" ,lua)))
  221. (home-page "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/")
  222. (synopsis "Socket library for Lua")
  223. (description "LuaSocket is a Lua extension library that is composed by two
  224. parts: a C core that provides support for the TCP and UDP transport layers,
  225. and a set of Lua modules that add support for functionality commonly needed by
  226. applications that deal with the Internet.
  227. Among the supported modules, the most commonly used implement the
  228. SMTP (sending e-mails), HTTP (WWW access) and FTP (uploading and downloading
  229. files) client protocols. These provide a very natural and generic interface
  230. to the functionality defined by each protocol. In addition, you will find
  231. that the MIME (common encodings), URL (anything you could possible want to do
  232. with one) and LTN12 (filters, sinks, sources and pumps) modules can be very
  233. handy.")
  234. (license license:expat)))
  235. (define-public lua5.1-socket
  236. (make-lua-socket "lua5.1-socket" lua-5.1))
  237. (define-public lua5.2-socket
  238. (make-lua-socket "lua5.2-socket" lua-5.2))
  239. (define (make-lua-filesystem name lua)
  240. (package
  241. (name name)
  242. (version "1.7.0.2")
  243. (source (origin
  244. (method git-fetch)
  245. (uri (git-reference
  246. (url "https://github.com/keplerproject/luafilesystem")
  247. (commit (string-append "v"
  248. (string-join
  249. (string-split version #\.) "_")))))
  250. (file-name (git-file-name name version))
  251. (sha256
  252. (base32
  253. "0zmprgkm9zawdf9wnw0v3w6ibaj442wlc6alp39hmw610fl4vghi"))))
  254. (build-system gnu-build-system)
  255. (arguments
  256. `(#:make-flags
  257. (let ((out (assoc-ref %outputs "out"))
  258. (lua-version ,(version-major+minor (package-version lua))))
  259. (list (string-append "PREFIX=" out)
  260. (string-append "LUA_LIBDIR=" out "/lib/lua/" lua-version)))
  261. #:test-target "test"
  262. #:phases
  263. (modify-phases %standard-phases
  264. (delete 'configure))))
  265. (inputs
  266. `(("lua" ,lua)))
  267. (home-page "https://keplerproject.github.io/luafilesystem/index.html")
  268. (synopsis "File system library for Lua")
  269. (description "LuaFileSystem is a Lua library developed to complement the
  270. set of functions related to file systems offered by the standard Lua
  271. distribution. LuaFileSystem offers a portable way to access the underlying
  272. directory structure and file attributes.")
  273. (license (package-license lua-5.1))))
  274. (define-public lua-filesystem
  275. (make-lua-filesystem "lua-filesystem" lua))
  276. (define-public lua5.1-filesystem
  277. (make-lua-filesystem "lua5.1-filesystem" lua-5.1))
  278. (define-public lua5.2-filesystem
  279. (make-lua-filesystem "lua5.2-filesystem" lua-5.2))
  280. (define (make-lua-ossl name lua)
  281. (package
  282. (name name)
  283. (version "20170903")
  284. (source (origin
  285. (method url-fetch)
  286. (uri (string-append "https://25thandclement.com/~william/"
  287. "projects/releases/luaossl-" version ".tgz"))
  288. (sha256
  289. (base32
  290. "10392bvd0lzyibipblgiss09zlqh3a5zgqg1b9lgbybpqb9cv2k3"))))
  291. (build-system gnu-build-system)
  292. (arguments
  293. `(#:make-flags
  294. (let ((out (assoc-ref %outputs "out"))
  295. (lua-api-version ,(version-major+minor (package-version lua))))
  296. (list "CC=gcc"
  297. "CFLAGS='-D HAVE_SYS_SYSCTL_H=0'" ; sys/sysctl.h is deprecated
  298. (string-append "DESTDIR=" out)
  299. (string-append "LUA_APIS=" lua-api-version)
  300. "prefix="))
  301. #:phases
  302. (modify-phases %standard-phases
  303. (delete 'configure)
  304. (delete 'check)
  305. (add-after 'install 'check
  306. (lambda* (#:key outputs #:allow-other-keys)
  307. (let ((out (assoc-ref outputs "out"))
  308. (lua-version ,(version-major+minor (package-version lua))))
  309. (setenv "LUA_CPATH"
  310. (string-append out "/lib/lua/" lua-version "/?.so;;"))
  311. (setenv "LUA_PATH"
  312. (string-append out "/share/lua/" lua-version "/?.lua;;"))
  313. (with-directory-excursion "regress"
  314. (for-each (lambda (f)
  315. (invoke "lua" f))
  316. (find-files "." "^[0-9].*\\.lua$"))))
  317. #t)))))
  318. (inputs
  319. `(("lua" ,lua)
  320. ("openssl" ,openssl)))
  321. (home-page "https://25thandclement.com/~william/projects/luaossl.html")
  322. (synopsis "OpenSSL bindings for Lua")
  323. (description "The luaossl extension module for Lua provides comprehensive,
  324. low-level bindings to the OpenSSL library, including support for certificate and
  325. key management, key generation, signature verification, and deep bindings to the
  326. distinguished name, alternative name, and X.509v3 extension interfaces. It also
  327. binds OpenSSL's bignum, message digest, HMAC, cipher, and CSPRNG interfaces.")
  328. (license license:expat)))
  329. (define-public lua-ossl
  330. (make-lua-ossl "lua-ossl" lua))
  331. (define-public lua5.1-ossl
  332. (make-lua-ossl "lua5.1-ossl" lua-5.1))
  333. (define-public lua5.2-ossl
  334. (make-lua-ossl "lua5.2-ossl" lua-5.2))
  335. (define (make-lua-sec name lua)
  336. (package
  337. (name name)
  338. (version "0.9")
  339. (source (origin
  340. (method git-fetch)
  341. (uri (git-reference
  342. (url "https://github.com/brunoos/luasec")
  343. (commit (string-append "v" version))))
  344. (file-name (git-file-name name version))
  345. (sha256
  346. (base32
  347. "0ssncgkggyr8i3z6zbvgrgsqj2q8676rnsikhpfwnk9n7sx4gwbl"))))
  348. (build-system gnu-build-system)
  349. (arguments
  350. `(#:make-flags
  351. (let ((out (assoc-ref %outputs "out"))
  352. (lua-version ,(version-major+minor (package-version lua))))
  353. (list "linux"
  354. "CC=gcc"
  355. "LD=gcc"
  356. (string-append "LUAPATH=" out "/share/lua/" lua-version)
  357. (string-append "LUACPATH=" out "/lib/lua/" lua-version)))
  358. #:tests? #f ; no tests included
  359. #:phases
  360. (modify-phases %standard-phases
  361. (delete 'configure))))
  362. (inputs
  363. `(("lua" ,lua)
  364. ("openssl" ,openssl)))
  365. (propagated-inputs
  366. `(("lua-socket"
  367. ,(make-lua-socket
  368. (format #f "lua~a-socket"
  369. (version-major+minor (package-version lua))) lua))))
  370. (home-page "https://github.com/brunoos/luasec/wiki")
  371. (synopsis "OpenSSL bindings for Lua")
  372. (description "LuaSec is a binding for OpenSSL library to provide TLS/SSL
  373. communication. It takes an already established TCP connection and creates a
  374. secure session between the peers.")
  375. (license license:expat)))
  376. (define-public lua5.1-sec
  377. (make-lua-sec "lua5.1-sec" lua-5.1))
  378. (define-public lua5.2-sec
  379. (make-lua-sec "lua5.2-sec" lua-5.2))
  380. (define (make-lua-cqueues name lua lua-ossl)
  381. (package
  382. (name name)
  383. (version "20171014")
  384. (source (origin
  385. (method url-fetch)
  386. (uri (string-append "https://25thandclement.com/~william/"
  387. "projects/releases/cqueues-" version ".tgz"))
  388. (sha256
  389. (base32
  390. "1dabhpn6r0hlln8vx9hxm34pfcm46qzgpb2apmziwg5z51fi4ksb"))))
  391. (build-system gnu-build-system)
  392. (arguments
  393. `(#:modules ((guix build gnu-build-system)
  394. (guix build utils)
  395. (ice-9 string-fun))
  396. #:make-flags
  397. (let ((out (assoc-ref %outputs "out"))
  398. (lua-api-version ,(version-major+minor (package-version lua))))
  399. (list "CC=gcc"
  400. (string-append "LUA_APIS=" lua-api-version)))
  401. #:phases
  402. (modify-phases %standard-phases
  403. (delete 'configure)
  404. (delete 'check)
  405. (replace 'install
  406. (lambda* (#:key make-flags outputs #:allow-other-keys)
  407. (let ((out (assoc-ref outputs "out")))
  408. (apply invoke "make" "install"
  409. (append make-flags
  410. (list (string-append "DESTDIR=" out)
  411. "prefix="))))))
  412. (add-after 'install 'check
  413. (lambda* (#:key inputs outputs make-flags #:allow-other-keys)
  414. (let*
  415. ((lua-version ,(version-major+minor (package-version lua)))
  416. (env-suffix (if (equal? lua-version "5.1")
  417. ""
  418. (string-append
  419. "_"
  420. (string-replace-substring lua-version "." "_"))))
  421. (lua-ossl (assoc-ref inputs "lua-ossl"))
  422. (out (assoc-ref outputs "out"))
  423. (lua-cpath (lambda (p)
  424. (string-append p "/lib/lua/" lua-version "/?.so")))
  425. (lua-path (lambda (p)
  426. (string-append p "/share/lua/" lua-version "/?.lua"))))
  427. ;; The test suite sets Lua-version-specific search-path variables
  428. ;; when available so we must do the same, as these take
  429. ;; precedence over the generic "LUA_CPATH" and "LUA_PATH"
  430. (setenv (string-append "LUA_CPATH" env-suffix)
  431. (string-append
  432. (string-join (map lua-cpath (list out lua-ossl)) ";")
  433. ";;"))
  434. (setenv (string-append "LUA_PATH" env-suffix)
  435. (string-append
  436. (string-join (map lua-path (list out lua-ossl)) ";")
  437. ";;"))
  438. ;; Skip regression tests we expect to fail
  439. (with-directory-excursion "regress"
  440. (for-each (lambda (f)
  441. (rename-file f (string-append f ".skip")))
  442. (append
  443. ;; Regression tests that require network
  444. ;; connectivity
  445. '("22-client-dtls.lua"
  446. "30-starttls-completion.lua"
  447. "62-noname.lua"
  448. "153-dns-resolvers.lua")
  449. ;; Regression tests that require LuaJIT
  450. '("44-resolvers-gc.lua"
  451. "51-join-defunct-thread.lua")
  452. ;; Regression tests that require Lua 5.3
  453. (if (not (equal? lua-version "5.3"))
  454. '("152-thread-integer-passing.lua")
  455. '()))))
  456. (apply invoke "make" "check" make-flags)))))))
  457. (native-inputs
  458. `(("m4" ,m4)))
  459. (inputs
  460. `(("lua" ,lua)
  461. ("openssl" ,openssl)))
  462. (propagated-inputs
  463. `(("lua-ossl" ,lua-ossl)))
  464. (home-page "https://25thandclement.com/~william/projects/cqueues.html")
  465. (synopsis "Event loop for Lua using continuation queues")
  466. (description "The cqueues extension module for Lua implements an event loop
  467. that operates through the yielding and resumption of coroutines. It is designed
  468. to be non-intrusive, composable, and embeddable within existing applications.")
  469. (license license:expat)))
  470. (define-public lua-cqueues
  471. (make-lua-cqueues "lua-cqueues" lua lua-ossl))
  472. (define-public lua5.1-cqueues
  473. (make-lua-cqueues "lua5.1-cqueues" lua-5.1 lua5.1-ossl))
  474. (define-public lua5.2-cqueues
  475. (make-lua-cqueues "lua5.2-cqueues" lua-5.2 lua5.2-ossl))
  476. (define-public lua-penlight
  477. (package
  478. (name "lua-penlight")
  479. (version "1.7.0")
  480. (source
  481. (origin
  482. (method git-fetch)
  483. (uri (git-reference
  484. (url "https://github.com/Tieske/Penlight")
  485. (commit version)))
  486. (file-name (git-file-name name version))
  487. (sha256
  488. (base32 "0qc2d1riyr4b5a0gnsmdw2lz5pw65s4ac60hc34w3mmk9l6yg6nl"))))
  489. (build-system trivial-build-system)
  490. (inputs
  491. `(("lua" ,lua)))
  492. (propagated-inputs
  493. `(("lua-filesystem" ,lua-filesystem)))
  494. (arguments
  495. `(#:modules ((guix build utils))
  496. #:builder
  497. (begin
  498. (use-modules (guix build utils))
  499. (let* ((source (assoc-ref %build-inputs "source"))
  500. (lua-version ,(version-major+minor (package-version lua)))
  501. (destination (string-append (assoc-ref %outputs "out")
  502. "/share/lua/" lua-version)))
  503. (mkdir-p destination)
  504. (with-directory-excursion source
  505. (copy-recursively "lua/" destination)))
  506. #t)))
  507. (home-page "http://tieske.github.io/Penlight/")
  508. (synopsis "Collection of general purpose libraries for the Lua language")
  509. (description "Penlight is a set of pure Lua libraries focusing on
  510. input data handling (such as reading configuration files), functional
  511. programming (such as map, reduce, placeholder expressions,etc), and OS
  512. path management. Much of the functionality is inspired by the Python
  513. standard libraries.")
  514. (license license:expat)))
  515. (define-public lua-ldoc
  516. (package
  517. (name "lua-ldoc")
  518. (version "1.4.6")
  519. (source
  520. (origin
  521. (method git-fetch)
  522. (uri (git-reference
  523. (url "https://github.com/stevedonovan/LDoc")
  524. (commit version)))
  525. (file-name (git-file-name name version))
  526. (sha256
  527. (base32 "1h0cf7bp4am54r0j8lhjs2l1c7q5vz74ba0jvw9qdbaqimls46g8"))))
  528. (build-system gnu-build-system)
  529. (inputs
  530. `(("lua" ,lua)))
  531. (propagated-inputs
  532. `(("lua-penlight" ,lua-penlight)))
  533. (arguments
  534. `(#:tests? #f ;tests must run after installation.
  535. #:phases
  536. (modify-phases %standard-phases
  537. (add-after 'unpack 'fix-installation-directory
  538. (lambda* (#:key outputs #:allow-other-keys)
  539. (let ((out (assoc-ref outputs "out"))
  540. (lua-version ,(version-major+minor (package-version lua))))
  541. (substitute* "makefile"
  542. (("LUA=.*") "#\n")
  543. (("(LUA_PREFIX=).*" _ prefix)
  544. (string-append prefix out "\n"))
  545. (("(LUA_BINDIR=).*" _ prefix)
  546. (string-append prefix out "/bin\n"))
  547. (("(LUA_SHAREDIR=).*" _ prefix)
  548. (string-append prefix out "/share/lua/" lua-version "\n"))))
  549. #t))
  550. (delete 'configure)
  551. (add-before 'install 'create-bin-directory
  552. (lambda* (#:key outputs #:allow-other-keys)
  553. (mkdir-p (string-append (assoc-ref outputs "out") "/bin"))
  554. #t)))))
  555. (home-page "http://stevedonovan.github.io/ldoc/")
  556. (synopsis "Lua documentation generator")
  557. (description
  558. "LDoc is a LuaDoc-compatible documentation generation system for
  559. Lua source code. It parses the declaration and documentation comments
  560. in a set of Lua source files and produces a set of XHTML pages
  561. describing the commented declarations and functions.")
  562. (license license:expat)))
  563. (define (make-lua-lgi name lua)
  564. (package
  565. (name name)
  566. (version "0.9.2")
  567. (source
  568. (origin
  569. (method git-fetch)
  570. (uri (git-reference
  571. (url "https://github.com/pavouk/lgi")
  572. (commit version)))
  573. (file-name (git-file-name name version))
  574. (sha256
  575. (base32 "03rbydnj411xpjvwsyvhwy4plm96481d7jax544mvk7apd8sd5jj"))))
  576. (build-system gnu-build-system)
  577. (arguments
  578. `(#:make-flags
  579. (list "CC=gcc"
  580. (string-append "PREFIX=" (assoc-ref %outputs "out")))
  581. #:phases
  582. (modify-phases %standard-phases
  583. (delete 'configure) ; no configure script
  584. (add-before 'build 'set-env
  585. (lambda* (#:key inputs #:allow-other-keys)
  586. ;; We need to load cairo dynamically.
  587. (let* ((cairo (string-append (assoc-ref inputs "cairo") "/lib")))
  588. (setenv "LD_LIBRARY_PATH" cairo)
  589. #t)))
  590. (add-before 'build 'set-lua-version
  591. (lambda _
  592. ;; Lua version and therefore install directories are hardcoded.
  593. (substitute* "./lgi/Makefile"
  594. (("LUA_VERSION=5.1")
  595. (format #f
  596. "LUA_VERSION=~a"
  597. ,(version-major+minor (package-version lua)))))
  598. #t))
  599. (add-before 'check 'skip-test-gtk
  600. (lambda _
  601. ;; FIXME: Skip GTK tests:
  602. ;; gtk3 - can't get it to run with the xorg-server config below
  603. ;; and some non-gtk tests will also fail
  604. ;; gtk2 - lots of functions aren't implemented
  605. ;; We choose gtk2 as the lesser evil and simply skip the test.
  606. ;; Currently, awesome is the only package that uses lua-lgi but
  607. ;; it doesn't need or interact with GTK using lua-lgi.
  608. (substitute* "./tests/test.lua"
  609. (("'gtk.lua',") "-- 'gtk.lua',"))
  610. #t))
  611. (add-before 'check 'start-xserver-instance
  612. (lambda* (#:key inputs #:allow-other-keys)
  613. ;; There must be a running X server during tests.
  614. (system (format #f "~a/bin/Xvfb :1 &"
  615. (assoc-ref inputs "xorg-server")))
  616. (setenv "DISPLAY" ":1")
  617. #t)))))
  618. (native-inputs
  619. `(("dbus" ,dbus) ;tests use 'dbus-run-session'
  620. ("pkg-config" ,pkg-config)))
  621. (inputs
  622. `(("cairo" ,cairo)
  623. ("glib" ,glib)
  624. ("gobject-introspection" ,gobject-introspection)
  625. ("gtk" ,gtk+-2)
  626. ("libffi" ,libffi)
  627. ("lua" ,lua)
  628. ("pango" ,pango)
  629. ("xorg-server" ,xorg-server)))
  630. (home-page "https://github.com/pavouk/lgi/")
  631. (synopsis "Lua bridge to GObject based libraries")
  632. (description
  633. "LGI is gobject-introspection based dynamic Lua binding to GObject based
  634. libraries. It allows using GObject-based libraries directly from Lua.
  635. Notable examples are GTK+, GStreamer and Webkit.")
  636. (license license:expat)))
  637. (define-public lua-lgi
  638. (make-lua-lgi "lua-lgi" lua))
  639. (define-public lua5.1-lgi
  640. (make-lua-lgi "lua5.1-lgi" lua-5.1))
  641. (define-public lua5.2-lgi
  642. (make-lua-lgi "lua5.2-lgi" lua-5.2))
  643. (define (make-lua-lpeg name lua)
  644. (package
  645. (name name)
  646. (version "1.0.2")
  647. (source (origin
  648. (method url-fetch)
  649. (uri (string-append "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-"
  650. version ".tar.gz"))
  651. (sha256
  652. (base32 "1zjzl7acvcdavmcg5l7wi12jd4rh95q9pl5aiww7hv0v0mv6bmj8"))))
  653. (build-system gnu-build-system)
  654. (arguments
  655. `(#:phases
  656. (modify-phases %standard-phases
  657. (delete 'configure)
  658. ;; `make install` isn't available, so we have to do it manually
  659. (replace 'install
  660. (lambda* (#:key outputs #:allow-other-keys)
  661. (let ((out (assoc-ref outputs "out"))
  662. (lua-version ,(version-major+minor (package-version lua))))
  663. (install-file "lpeg.so"
  664. (string-append out "/lib/lua/" lua-version))
  665. (install-file "re.lua"
  666. (string-append out "/share/lua/" lua-version))
  667. #t))))
  668. #:test-target "test"))
  669. (inputs `(("lua" ,lua)))
  670. (synopsis "Pattern-matching library for Lua")
  671. (description
  672. "LPeg is a pattern-matching library for Lua, based on Parsing Expression
  673. Grammars (PEGs).")
  674. (home-page "http://www.inf.puc-rio.br/~roberto/lpeg")
  675. (license license:expat)))
  676. (define-public lua-lpeg
  677. (make-lua-lpeg "lua-lpeg" lua))
  678. (define-public lua5.1-lpeg
  679. (make-lua-lpeg "lua5.1-lpeg" lua-5.1))
  680. (define-public lua5.2-lpeg
  681. (make-lua-lpeg "lua5.2-lpeg" lua-5.2))
  682. (define (make-lua-luv name lua)
  683. (package
  684. (name name)
  685. (version "1.32.0-0")
  686. (source (origin
  687. ;; The release tarball includes the sources of libuv but does
  688. ;; not include the pkg-config files.
  689. (method git-fetch)
  690. (uri (git-reference
  691. (url "https://github.com/luvit/luv")
  692. (commit version)))
  693. (file-name (git-file-name name version))
  694. (sha256
  695. (base32
  696. "0c65c1lhbl0axnyks3910gjs0z0hw7w6jvl07g8kbpnbvfl4qajh"))))
  697. (build-system cmake-build-system)
  698. (arguments
  699. `(#:tests? #f ; there are none
  700. #:configure-flags
  701. '("-DWITH_LUA_ENGINE=Lua"
  702. "-DWITH_SHARED_LIBUV=On"
  703. "-DBUILD_MODULE=Off"
  704. "-DBUILD_SHARED_LIBS=On"
  705. "-DLUA_BUILD_TYPE=System")
  706. #:phases
  707. (modify-phases %standard-phases
  708. (add-after 'unpack 'copy-lua-compat
  709. (lambda* (#:key inputs #:allow-other-keys)
  710. (copy-recursively (assoc-ref inputs "lua-compat")
  711. "lua-compat")
  712. (setenv "CPATH"
  713. (string-append (getcwd) "/lua-compat:"
  714. (or (getenv "CPATH") "")))
  715. #t)))))
  716. (inputs
  717. `(("lua" ,lua)
  718. ("libuv" ,libuv)))
  719. (native-inputs
  720. `(("lua-compat"
  721. ,(origin
  722. (method git-fetch)
  723. (uri (git-reference
  724. (url "https://github.com/keplerproject/lua-compat-5.3")
  725. (commit "daebe77a2f498817713df37f0bb316db1d82222f")))
  726. (file-name "lua-compat-5.3-checkout")
  727. (sha256
  728. (base32
  729. "02a14nvn7aggg1yikj9h3dcf8aqjbxlws1bfvqbpfxv9d5phnrpz"))))))
  730. (home-page "https://github.com/luvit/luv/")
  731. (synopsis "Libuv bindings for Lua")
  732. (description
  733. "This library makes libuv available to Lua scripts.")
  734. (license license:asl2.0)))
  735. (define-public lua-luv
  736. (make-lua-luv "lua-luv" lua))
  737. (define-public lua5.1-luv
  738. (make-lua-luv "lua5.1-luv" lua-5.1))
  739. (define-public lua5.2-luv
  740. (make-lua-luv "lua5.2-luv" lua-5.2))
  741. ;; Lua 5.3 is not supported.
  742. (define (make-lua-bitop name lua)
  743. (package
  744. (name name)
  745. (version "1.0.2")
  746. (source (origin
  747. (method url-fetch)
  748. (uri (string-append "http://bitop.luajit.org/download/"
  749. "LuaBitOp-" version ".tar.gz"))
  750. (sha256
  751. (base32
  752. "16fffbrgfcw40kskh2bn9q7m3gajffwd2f35rafynlnd7llwj1qj"))))
  753. (build-system gnu-build-system)
  754. (arguments
  755. `(#:test-target "test"
  756. #:make-flags
  757. (list "INSTALL=install -pD"
  758. (string-append "INSTALLPATH=printf "
  759. (assoc-ref %outputs "out")
  760. "/lib/lua/"
  761. ,(version-major+minor (package-version lua))
  762. "/bit/bit.so"))
  763. #:phases
  764. (modify-phases %standard-phases
  765. (delete 'configure))))
  766. (inputs `(("lua" ,lua)))
  767. (home-page "https://bitop.luajit.org/index.html")
  768. (synopsis "Bitwise operations on numbers for Lua")
  769. (description
  770. "Lua BitOp is a C extension module for Lua which adds bitwise operations
  771. on numbers.")
  772. (license license:expat)))
  773. (define-public lua5.2-bitop
  774. (make-lua-bitop "lua5.2-bitop" lua-5.2))
  775. (define-public lua5.1-bitop
  776. (make-lua-bitop "lua5.1-bitop" lua-5.1))
  777. (define-public selene
  778. (package
  779. (name "selene")
  780. (version "2017.08.25")
  781. (source (origin
  782. (method git-fetch)
  783. (uri (git-reference
  784. (url "https://github.com/jeremyong/Selene")
  785. ;; The release is quite old.
  786. (commit "ffe1ade2568d4cff5894552be8f43e63e379a4c9")))
  787. (file-name "Selene")
  788. (sha256
  789. (base32
  790. "1axrgv3rxxdsaf807lwvklfzicn6x6gpf35narllrnz9lg6hn508"))))
  791. (build-system cmake-build-system)
  792. (arguments
  793. `(#:configure-flags
  794. ;; lua pc file in CMakeLists.txt is lua5.3.pc
  795. '("-DLUA_PC_CFG=lua;lua-5.3;lua-5.1")
  796. #:test-target "all"
  797. #:phases
  798. ;; This is a header only library
  799. (modify-phases %standard-phases
  800. (delete 'build)
  801. (replace 'install
  802. (lambda* (#:key inputs outputs #:allow-other-keys)
  803. (let* ((output (assoc-ref outputs "out"))
  804. (source (assoc-ref inputs "source"))
  805. (includedir (string-append output "/include")))
  806. (copy-recursively
  807. (string-append source "/include")
  808. includedir))
  809. #t))
  810. ;; The path of test files are hard coded.
  811. (replace 'check
  812. (lambda* (#:key inputs outputs #:allow-other-keys)
  813. (let* ((output (assoc-ref outputs "out"))
  814. (source (assoc-ref inputs "source"))
  815. (builddir (getcwd))
  816. (testdir (string-append builddir "/test")))
  817. (copy-recursively (string-append source "/test") testdir)
  818. (invoke "make")
  819. (mkdir-p "runner")
  820. (copy-file "./test_runner" "./runner/test_runner")
  821. (chdir "./runner")
  822. (invoke "./test_runner")))))))
  823. (native-inputs
  824. `(("lua" ,lua)
  825. ("pkg-config" ,pkg-config)))
  826. (home-page "https://github.com/jeremyong/Selene")
  827. (synopsis "Lua C++11 bindings")
  828. (description
  829. "Selene is a simple C++11 header-only library enabling seamless
  830. interoperability between C++ and Lua programming language.")
  831. (license license:zlib)))