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.

735 lines
32 KiB

gnu: Move web packages from python to python-web. This is in part to address <https://bugs.gnu.org/27284>. * gnu/packages/python.scm (python-httplib2, python2-httplib2) (python-sockjs-tornado, python2-sockjs-tornado) (python-flask-babel, python2-flask-babel) (python-html5lib, python2-html5lib) (python-html5lib-0.9, python2-html5lib-0.9) (python-html5-parser, python2-html5-parser) (python-webencodings, python2-webencodings) (python-openid, python2-openid, python-cssutils, python2-cssutils) (python-cssselect, python2-cssutils) (python-openid-cla, python2-openid-cla) (python-openid-teams, python2-openid-teams) (python-tornado, python2-tornado) (python-tornado-http-auth, python-terminado, python2-terminado) (python-webob, python2-webob, python-zope-event, python2-zope-event) (python-zope-interface, python2-zope-interface) (python-zope-exceptions, python2-zope-exceptions) (python-zope-testing, python2-zope-testing) (python-zope-testrunner, python2-zope-testrunner) (python-zope-i18nmessageid, python2-zope-i18nmessageid) (python-zope-schema, python2-zope-schema) (python-zope-configuration, python2-zope-configuration) (python-zope-proxy, python2-zope-proxy) (python-zope-location, python2-zope-location) (python-zope-security, python2-zope-security) (python-zope-component, python2-zope-component) (python-ndg-httpsclient, python2-ndg-httpsclient) (python-websocket-client, python2-websocket-client) (python-requests-toolbelt, python2-requests-toolbelt) (python-rauth, python2-rauth, python-urllib3, python2-urllib3) (awscli, python-wsgiproxy2, python2-wsgiproxy2) (python-pastedeploy, python2-pastedeploy) (python-webtest, python2-webtest, python-flask, python2-flask) (python-flast-wtf, python2-flask-wtf) (python-flask-multistatic, python2-flask-multistatic) (python-cookies, python2-cookies) (python-responses, python2-responses) (python-geventhttpclient, python2-geventhttpclient) (python-requests-oauthlib, python2-requests-oauthlib) (python-url, python2-url, python-cachecontrol, python2-cachecontrol) (python-betamax, python2-betamax) (python-betamax-matchers, python2-betamax-matchers) (python-s3transfer, python2-s3transfer) (python-flask-restful, python-flask-basicauth) (python-flask-sqlalchemy, python-flask-restplus) (python-flask-restful-swagger, python-htmlmin, python2-htmlmin) (python-flask-htmlmin, python2-flask-htmlmin) (python-flask-login, python2-flask-login) (python-oauth2client, python-flask-oidc) (python-webassets, python-cssmin, python2-cssmin) (python-elasticsearch, python2-elasticsearch) (python-flask-script, python2-flask-script) (python-flask-migrate, python2-flask-migrate) (python-genshi, python2-genshi) (python-flask-principal, python2-flask-principal) (python-flask-httpauth, python2-flask-httpauth) (python-uritemplate, python2-uritemplate): Move to... * gnu/packages/python-web.scm: ... here. New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/admin.scm, gnu/packages/backup.scm, gnu/packages/dav.scm, gnu/packages/django.scm, gnu/packages/docker.scm, gnu/packages/ebook.scm, gnu/packages/logging.scm, gnu/packages/mail.scm, gnu/packages/music.scm, gnu/packages/openstack.scm, gnu/packages/package-management.scm, gnu/packages/rdf.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/tryton.scm, gnu/packages/version-control.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm: Adjust accordingly.
4 years ago
gnu: Separate Python core packages from the rest. * gnu/packages/python.scm: Move hundreds of package definitions from here... * gnu/packages/python-xyz.scm: ...to this new module. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/benchmark.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/calendar.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/cluster.scm, gnu/packages/compression.scm, gnu/packages/connman.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm, gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/direct-connect.scm, gnu/packages/disk.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/docker.scm, gnu/packages/ebook.scm, gnu/packages/elf.scm, gnu/packages/emacs.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/enlightenment.scm, gnu/packages/finance.scm, gnu/packages/fltk.scm, gnu/packages/fontutils.scm, gnu/packages/freedesktop.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/geo.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/gtk.scm, gnu/packages/ham-radio.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/kde-frameworks.scm, gnu/packages/key-mon.scm, gnu/packages/libffi.scm, gnu/packages/libreoffice.scm, gnu/packages/libusb.scm, gnu/packages/lirc.scm, gnu/packages/logging.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/medical.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/nutrition.scm, gnu/packages/openldap.scm, gnu/packages/openstack.scm, gnu/packages/package-management.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/photo.scm, gnu/packages/polkit.scm, gnu/packages/protobuf.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/qt.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/search.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/simulation.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/tryton.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/virtualization.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wicd.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm: Update module references.
3 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: Go standard library 'x' packages: Consolidate. * gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net, go-golang-org-x-time): New variables. (go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt, go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2, go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20, go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish, go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519, go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s, go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding, go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm, go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context, go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket, go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6, go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix, go-golang-org-x-time-rate): Remove variables. (go-github-com-sirupsen-logrus, go-github-com-docker-distribution, go-github-com-libp2p-go-libp2p-crypto, go-github-com-multiformats-go-multihash, go-github-com-libp2p-go-libp2p-peer, go-github-com-libp2p-go-libp2p-metrics, go-github-com-multiformats-go-multiaddr, go-github-com-multiformats-go-multiaddr-net, go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding, go-github-com-gdamore-tcell): Adjust accordingly. * gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise. * gnu/packages/databases.scm (mongo-tools): Likewise. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise. * gnu/packages/web.scm (poussetaches): Likewise. * gnu/packages/terminals.scm (go-github-com-junegunn-fzf, go-github.com-howeyc-gopass): Likewise. (go-golang.org-x-crypto-ssh-terminal): Remove variable. * gnu/packages/syncthing.scm (syncthing, go-github-com-oschwald-geoip2-golang, go-github-com-oschwald-maxminddb-golang, go-github-com-syncthing-notify): Adjust accordingly. * gnu/packages/linux.scm (go-netlink): Likewise.
2 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: 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 © 2016 David Thompson <davet@gnu.org>
  3. ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
  4. ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  5. ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
  6. ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
  7. ;;; Copyright © 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
  8. ;;;
  9. ;;; This file is part of GNU Guix.
  10. ;;;
  11. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  12. ;;; under the terms of the GNU General Public License as published by
  13. ;;; the Free Software Foundation; either version 3 of the License, or (at
  14. ;;; your option) any later version.
  15. ;;;
  16. ;;; GNU Guix is distributed in the hope that it will be useful, but
  17. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  18. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. ;;; GNU General Public License for more details.
  20. ;;;
  21. ;;; You should have received a copy of the GNU General Public License
  22. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  23. (define-module (gnu packages docker)
  24. #:use-module ((guix licenses) #:prefix license:)
  25. #:use-module (gnu packages)
  26. #:use-module (guix packages)
  27. #:use-module (guix download)
  28. #:use-module (guix git-download)
  29. #:use-module (guix build-system cmake)
  30. #:use-module (guix build-system gnu)
  31. #:use-module (guix build-system go)
  32. #:use-module (guix build-system python)
  33. #:use-module (guix utils)
  34. #:use-module (gnu packages autotools)
  35. #:use-module (gnu packages base)
  36. #:use-module (gnu packages check)
  37. #:use-module (gnu packages compression)
  38. #:use-module (gnu packages glib)
  39. #:use-module (gnu packages golang)
  40. #:use-module (gnu packages linux)
  41. #:use-module (gnu packages networking)
  42. #:use-module (gnu packages pkg-config)
  43. #:use-module (gnu packages python)
  44. #:use-module (gnu packages python-crypto)
  45. #:use-module (gnu packages python-web)
  46. #:use-module (gnu packages python-xyz)
  47. #:use-module (gnu packages version-control)
  48. #:use-module (gnu packages virtualization))
  49. (define %docker-version "19.03.12")
  50. (define-public python-docker-py
  51. (package
  52. (name "python-docker-py")
  53. (version "3.7.3")
  54. (source
  55. (origin
  56. (method url-fetch)
  57. (uri (pypi-uri "docker" version))
  58. (sha256
  59. (base32
  60. "0qmrcvpaz37p85hfddsd4yc8hgqlkzs4cz09q9wmy0pz5pwajqm0"))))
  61. (build-system python-build-system)
  62. ;; TODO: Tests require a running Docker daemon.
  63. (arguments '(#:tests? #f))
  64. (inputs
  65. `(("python-requests" ,python-requests-2.20)
  66. ("python-six" ,python-six)
  67. ("python-urllib3" ,python-urllib3-1.24)
  68. ("python-websocket-client" ,python-websocket-client)))
  69. (propagated-inputs
  70. `(("python-docker-pycreds" ,python-docker-pycreds)
  71. ("python-paramiko" ,python-paramiko))) ; adds SSH support
  72. (home-page "https://github.com/docker/docker-py/")
  73. (synopsis "Python client for Docker")
  74. (description "Docker-Py is a Python client for the Docker container
  75. management tool.")
  76. (license license:asl2.0)))
  77. (define-public python-dockerpty
  78. (package
  79. (name "python-dockerpty")
  80. (version "0.4.1")
  81. (source
  82. (origin
  83. (method url-fetch)
  84. (uri (pypi-uri "dockerpty" version))
  85. (sha256
  86. (base32
  87. "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9"))))
  88. (build-system python-build-system)
  89. (native-inputs
  90. `(("python-six" ,python-six)))
  91. (home-page "https://github.com/d11wtq/dockerpty")
  92. (synopsis "Python library to use the pseudo-TTY of a Docker container")
  93. (description "Docker PTY provides the functionality needed to operate the
  94. pseudo-terminal (PTY) allocated to a Docker container using the Python
  95. client.")
  96. (license license:asl2.0)))
  97. (define-public docker-compose
  98. (package
  99. (name "docker-compose")
  100. (version "1.25.4")
  101. (source
  102. (origin
  103. (method url-fetch)
  104. (uri (pypi-uri "docker-compose" version))
  105. (sha256
  106. (base32
  107. "1ww8ckpj3n5jdg63qvmiqx3gk0fsrnynnnqj17fppymbwjzf5fps"))))
  108. (build-system python-build-system)
  109. ;; TODO: Tests require running Docker daemon.
  110. (arguments '(#:tests? #f))
  111. (inputs
  112. `(("python-cached-property"
  113. ,python-cached-property)
  114. ("python-docker-py" ,python-docker-py)
  115. ("python-dockerpty" ,python-dockerpty)
  116. ("python-docopt" ,python-docopt)
  117. ("python-jsonschema" ,python-jsonschema)
  118. ("python-pyyaml" ,python-pyyaml)
  119. ("python-requests" ,python-requests)
  120. ("python-six" ,python-six)
  121. ("python-texttable" ,python-texttable)
  122. ("python-websocket-client" ,python-websocket-client)))
  123. (home-page "https://www.docker.com/")
  124. (synopsis "Multi-container orchestration for Docker")
  125. (description "Docker Compose is a tool for defining and running
  126. multi-container Docker applications. A Compose file is used to configure an
  127. applications services. Then, using a single command, the containers are
  128. created and all the services are started as specified in the configuration.")
  129. (license license:asl2.0)))
  130. (define-public python-docker-pycreds
  131. (package
  132. (name "python-docker-pycreds")
  133. (version "0.4.0")
  134. (source
  135. (origin
  136. (method url-fetch)
  137. (uri (pypi-uri "docker-pycreds" version))
  138. (sha256
  139. (base32
  140. "1m44smrggnqghxkqfl7vhapdw89m1p3vdr177r6cq17lr85jgqvc"))))
  141. (build-system python-build-system)
  142. (arguments
  143. `(#:phases
  144. (modify-phases %standard-phases
  145. (add-after 'unpack 'fix-versioning
  146. (lambda _
  147. (substitute* "test-requirements.txt"
  148. (("3.0.2") ,(package-version python-pytest))
  149. (("2.3.1") ,(package-version python-pytest-cov))
  150. (("2.4.1") ,(package-version python-flake8)))
  151. #t)))))
  152. (native-inputs
  153. `(("python-flake8" ,python-flake8)
  154. ("python-pytest" ,python-pytest)
  155. ("python-pytest-cov" ,python-pytest-cov)))
  156. (propagated-inputs
  157. `(("python-six" ,python-six)))
  158. (home-page "https://github.com/shin-/dockerpy-creds")
  159. (synopsis
  160. "Python bindings for the Docker credentials store API")
  161. (description
  162. "Docker-Pycreds contains the Python bindings for the docker credentials
  163. store API. It allows programmers to interact with a Docker registry using
  164. Python without keeping their credentials in a Docker configuration file.")
  165. (license license:asl2.0)))
  166. (define-public containerd
  167. (package
  168. (name "containerd")
  169. (version "1.2.5")
  170. (source
  171. (origin
  172. (method git-fetch)
  173. (uri (git-reference
  174. (url "https://github.com/containerd/containerd")
  175. (commit (string-append "v" version))))
  176. (file-name (git-file-name name version))
  177. (sha256
  178. (base32 "0npbzixf3c0jvzm159vygvkydrr8h36c9sq50yv0mdinrys2bvg0"))
  179. (patches
  180. (search-patches "containerd-test-with-go1.13.patch"))))
  181. (build-system go-build-system)
  182. (arguments
  183. `(#:import-path "github.com/containerd/containerd"
  184. #:phases
  185. (modify-phases %standard-phases
  186. (add-before 'build 'chdir
  187. (lambda _
  188. (chdir "src/github.com/containerd/containerd")
  189. #t))
  190. (add-after 'chdir 'patch-paths
  191. (lambda* (#:key inputs outputs #:allow-other-keys)
  192. ;; TODO: Patch "socat", "unpigz".
  193. (substitute* "./runtime/v1/linux/runtime.go"
  194. (("defaultRuntime[ \t]*=.*")
  195. (string-append "defaultRuntime = \""
  196. (assoc-ref inputs "runc")
  197. "/sbin/runc\"\n"))
  198. (("defaultShim[ \t]*=.*")
  199. (string-append "defaultShim = \""
  200. (assoc-ref outputs "out")
  201. "/bin/containerd-shim\"\n")))
  202. (substitute* "./vendor/github.com/containerd/go-runc/runc.go"
  203. (("DefaultCommand[ \t]*=.*")
  204. (string-append "DefaultCommand = \""
  205. (assoc-ref inputs "runc")
  206. "/sbin/runc\"\n")))
  207. (substitute* "vendor/github.com/containerd/continuity/testutil/loopback/loopback_linux.go"
  208. (("exec\\.Command\\(\"losetup\"") ; )
  209. (string-append "exec.Command(\""
  210. (assoc-ref inputs "util-linux")
  211. "/sbin/losetup\""))) ;)
  212. #t))
  213. (replace 'build
  214. (lambda* (#:key (make-flags '()) #:allow-other-keys)
  215. (apply invoke "make" make-flags)))
  216. (replace 'install
  217. (lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
  218. (let* ((out (assoc-ref outputs "out")))
  219. (apply invoke "make" (string-append "DESTDIR=" out) "install"
  220. make-flags)))))))
  221. (inputs
  222. `(("btrfs-progs" ,btrfs-progs)
  223. ("libseccomp" ,libseccomp)
  224. ("runc" ,runc)
  225. ("util-linux" ,util-linux)))
  226. (native-inputs
  227. `(("go" ,go)
  228. ("pkg-config" ,pkg-config)))
  229. (synopsis "Docker container runtime")
  230. (description "This package provides the container daemon for Docker.
  231. It includes image transfer and storage, container execution and supervision,
  232. network attachments.")
  233. (home-page "https://containerd.io/")
  234. (license license:asl2.0)))
  235. ;;; Private package that shouldn't be used directly; its purposes is to be
  236. ;;; used as a template for the various packages it contains. It doesn't build
  237. ;;; anyway, as it needs many dependencies that aren't being satisfied.
  238. (define docker-libnetwork
  239. ;; There are no recent release for libnetwork, so choose the last commit of
  240. ;; the branch that Docker uses, as can be seen in the Docker source file
  241. ;; 'hack/dockerfile/install/proxy.installer'.
  242. (let ((commit "4725f2163fb214a6312f3beae5991f838ec36326")
  243. (version "18.09")
  244. (revision "1"))
  245. (package
  246. (name "docker-libnetwork")
  247. (version (git-version version "1" commit))
  248. (source (origin
  249. (method git-fetch)
  250. (uri (git-reference
  251. (url "https://github.com/docker/libnetwork")
  252. (commit commit)))
  253. (file-name (git-file-name name version))
  254. (sha256
  255. (base32
  256. "1zpnxki8qfzha6ljahpwd3vkzmjhsvkmf73w6crm4ilxxw5vnpfb"))
  257. ;; Delete bundled ("vendored") free software source code.
  258. (modules '((guix build utils)))
  259. (snippet '(begin
  260. (delete-file-recursively "vendor")
  261. #t))))
  262. (build-system go-build-system)
  263. (arguments
  264. `(#:import-path "github.com/docker/libnetwork/"))
  265. (home-page "https://github.com/docker/libnetwork/")
  266. (synopsis "Networking for containers")
  267. (description "Libnetwork provides a native Go implementation for
  268. connecting containers. The goal of @code{libnetwork} is to deliver a robust
  269. container network model that provides a consistent programming interface and
  270. the required network abstractions for applications.")
  271. (license license:asl2.0))))
  272. (define-public docker-libnetwork-cmd-proxy
  273. (package
  274. (inherit docker-libnetwork)
  275. (name "docker-libnetwork-cmd-proxy")
  276. (arguments
  277. `(#:import-path "github.com/docker/libnetwork/cmd/proxy"
  278. #:unpack-path "github.com/docker/libnetwork"
  279. #:install-source? #f))
  280. (native-inputs
  281. `(("go-sctp" ,go-sctp)
  282. ;; For tests.
  283. ("logrus" ,go-github-com-sirupsen-logrus)
  284. ("go-netlink" ,go-netlink)
  285. ("go-netns" ,go-netns)
  286. ("go-golang-org-x-crypto"
  287. ,go-golang-org-x-crypto)
  288. ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
  289. (synopsis "Docker user-space proxy")
  290. (description "A proxy running in the user space. It is used by the
  291. built-in registry server of Docker.")
  292. (license license:asl2.0)))
  293. ;; TODO: Patch out modprobes for ip_vs, nf_conntrack,
  294. ;; brige, nf_conntrack_netlink, aufs.
  295. (define-public docker
  296. (package
  297. (name "docker")
  298. (version %docker-version)
  299. (source
  300. (origin
  301. (method git-fetch)
  302. (uri (git-reference
  303. (url "https://github.com/docker/engine")
  304. (commit (string-append "v" version))))
  305. (file-name (git-file-name name version))
  306. (sha256
  307. (base32 "1dj6llfcgcbpq9q9j6b4wb0anbn1g5wzm8ikq2lyhg54i3154m93"))
  308. (patches
  309. (search-patches "docker-fix-tests.patch"))))
  310. (build-system gnu-build-system)
  311. (arguments
  312. `(#:modules
  313. ((guix build gnu-build-system)
  314. ((guix build go-build-system) #:prefix go:)
  315. (guix build union)
  316. (guix build utils))
  317. #:imported-modules
  318. (,@%gnu-build-system-modules
  319. (guix build union)
  320. (guix build go-build-system))
  321. #:phases
  322. (modify-phases %standard-phases
  323. (add-after 'unpack 'patch-paths
  324. (lambda* (#:key inputs #:allow-other-keys)
  325. (substitute* "builder/builder-next/executor_unix.go"
  326. (("CommandCandidates:.*runc.*")
  327. (string-append "CommandCandidates: []string{\""
  328. (assoc-ref inputs "runc")
  329. "/sbin/runc\"},\n")))
  330. (substitute* "vendor/github.com/containerd/go-runc/runc.go"
  331. (("DefaultCommand = .*")
  332. (string-append "DefaultCommand = \""
  333. (assoc-ref inputs "runc")
  334. "/sbin/runc\"\n")))
  335. (substitute* "vendor/github.com/containerd/containerd/runtime/v1/linux/runtime.go"
  336. (("defaultRuntime[ \t]*=.*")
  337. (string-append "defaultRuntime = \""
  338. (assoc-ref inputs "runc")
  339. "/sbin/runc\"\n"))
  340. (("defaultShim[ \t]*=.*")
  341. (string-append "defaultShim = \""
  342. (assoc-ref inputs "containerd")
  343. "/bin/containerd-shim\"\n")))
  344. (substitute* "daemon/daemon_unix.go"
  345. (("DefaultShimBinary = .*")
  346. (string-append "DefaultShimBinary = \""
  347. (assoc-ref inputs "containerd")
  348. "/bin/containerd-shim\"\n"))
  349. (("DefaultRuntimeBinary = .*")
  350. (string-append "DefaultRuntimeBinary = \""
  351. (assoc-ref inputs "runc")
  352. "/sbin/runc\"\n"))
  353. (("DefaultRuntimeName = .*")
  354. (string-append "DefaultRuntimeName = \""
  355. (assoc-ref inputs "runc")
  356. "/sbin/runc\"\n")))
  357. (substitute* "daemon/config/config.go"
  358. (("StockRuntimeName = .*")
  359. (string-append "StockRuntimeName = \""
  360. (assoc-ref inputs "runc")
  361. "/sbin/runc\"\n"))
  362. (("DefaultInitBinary = .*")
  363. (string-append "DefaultInitBinary = \""
  364. (assoc-ref inputs "tini")
  365. "/bin/tini\"\n")))
  366. (substitute* "daemon/config/config_common_unix_test.go"
  367. (("expectedInitPath: \"docker-init\"")
  368. (string-append "expectedInitPath: \""
  369. (assoc-ref inputs "tini")
  370. "/bin/tini\"")))
  371. (substitute* "vendor/github.com/moby/buildkit/executor/runcexecutor/executor.go"
  372. (("var defaultCommandCandidates = .*")
  373. (string-append "var defaultCommandCandidates = []string{\""
  374. (assoc-ref inputs "runc") "/sbin/runc\"}")))
  375. (substitute* "vendor/github.com/docker/libnetwork/portmapper/proxy.go"
  376. (("var userlandProxyCommandName = .*")
  377. (string-append "var userlandProxyCommandName = \""
  378. (assoc-ref inputs "docker-proxy")
  379. "/bin/proxy\"\n")))
  380. (substitute* "pkg/archive/archive.go"
  381. (("string\\{\"xz")
  382. (string-append "string{\"" (assoc-ref inputs "xz") "/bin/xz")))
  383. ;; TODO: Remove when Docker proper uses v1.14.x to build
  384. (substitute* "registry/resumable/resumablerequestreader_test.go"
  385. (("I%27m%20not%20an%20url" all)
  386. (string-append "\"" all "\"")))
  387. ;; TODO: Remove when Docker proper uses v1.14.x to build
  388. (substitute* "vendor/gotest.tools/x/subtest/context.go"
  389. (("func \\(tc \\*testcase\\) Cleanup\\(" all)
  390. (string-append all "func()"))
  391. (("tc\\.Cleanup\\(" all)
  392. (string-append all "nil")))
  393. (let ((source-files (filter (lambda (name)
  394. (not (string-contains name "test")))
  395. (find-files "." "\\.go$"))))
  396. (let-syntax ((substitute-LookPath*
  397. (syntax-rules ()
  398. ((_ (source-text package relative-path) ...)
  399. (substitute* source-files
  400. (((string-append "\\<exec\\.LookPath\\(\""
  401. source-text
  402. "\")"))
  403. (string-append "\""
  404. (assoc-ref inputs package)
  405. "/" relative-path
  406. "\", error(nil)")) ...))))
  407. (substitute-Command*
  408. (syntax-rules ()
  409. ((_ (source-text package relative-path) ...)
  410. (substitute* source-files
  411. (((string-append "\\<(re)?exec\\.Command\\(\""
  412. source-text
  413. "\"") _ re?)
  414. (string-append (if re? re? "")
  415. "exec.Command(\""
  416. (assoc-ref inputs package)
  417. "/" relative-path
  418. "\"")) ...)))))
  419. (substitute-LookPath*
  420. ("containerd" "containerd" "bin/containerd")
  421. ("ps" "procps" "bin/ps")
  422. ("mkfs.xfs" "xfsprogs" "bin/mkfs.xfs")
  423. ("lvmdiskscan" "lvm2" "sbin/lvmdiskscan")
  424. ("pvdisplay" "lvm2" "sbin/pvdisplay")
  425. ("blkid" "util-linux" "sbin/blkid")
  426. ("unpigz" "pigz" "bin/unpigz")
  427. ("iptables" "iptables" "sbin/iptables")
  428. ("iptables-legacy" "iptables" "sbin/iptables")
  429. ("ip" "iproute2" "sbin/ip"))
  430. (substitute-Command*
  431. ("modprobe" "kmod" "bin/modprobe")
  432. ("pvcreate" "lvm2" "sbin/pvcreate")
  433. ("vgcreate" "lvm2" "sbin/vgcreate")
  434. ("lvcreate" "lvm2" "sbin/lvcreate")
  435. ("lvconvert" "lvm2" "sbin/lvconvert")
  436. ("lvchange" "lvm2" "sbin/lvchange")
  437. ("mkfs.xfs" "xfsprogs" "sbin/mkfs.xfs")
  438. ("xfs_growfs" "xfsprogs" "sbin/xfs_growfs")
  439. ("mkfs.ext4" "e2fsprogs" "sbin/mkfs.ext4")
  440. ("tune2fs" "e2fsprogs" "sbin/tune2fs")
  441. ("blkid" "util-linux" "sbin/blkid")
  442. ("resize2fs" "e2fsprogs" "sbin/resize2fs")
  443. ("ps" "procps" "bin/ps")
  444. ("losetup" "util-linux" "sbin/losetup")
  445. ("uname" "coreutils" "bin/uname")
  446. ("dbus-launch" "dbus" "bin/dbus-launch")
  447. ("git" "git" "bin/git")))
  448. ;; docker-mountfrom ??
  449. ;; docker
  450. ;; docker-untar ??
  451. ;; docker-applyLayer ??
  452. ;; /usr/bin/uname
  453. ;; grep
  454. ;; apparmor_parser
  455. ;; Make compilation fail when, in future versions, Docker
  456. ;; invokes other programs we don't know about and thus don't
  457. ;; substitute.
  458. (substitute* source-files
  459. ;; Search for Java in PATH.
  460. (("\\<exec\\.Command\\(\"java\"")
  461. "xxec.Command(\"java\"")
  462. ;; Search for AUFS in PATH (mainline Linux doesn't support it).
  463. (("\\<exec\\.Command\\(\"auplink\"")
  464. "xxec.Command(\"auplink\"")
  465. ;; Fail on other unsubstituted commands.
  466. (("\\<exec\\.Command\\(\"([a-zA-Z0-9][a-zA-Z0-9_-]*)\""
  467. _ executable)
  468. (string-append "exec.Guix_doesnt_want_Command(\""
  469. executable "\""))
  470. (("\\<xxec\\.Command")
  471. "exec.Command")
  472. ;; Search for ZFS in PATH.
  473. (("\\<LookPath\\(\"zfs\"\\)") "LooxPath(\"zfs\")")
  474. ;; Fail on other unsubstituted LookPaths.
  475. (("\\<LookPath\\(\"") "Guix_doesnt_want_LookPath\\(\"")
  476. (("\\<LooxPath") "LookPath")))
  477. #t))
  478. (add-after 'patch-paths 'delete-failing-tests
  479. (lambda _
  480. ;; Needs internet access.
  481. (delete-file "builder/remotecontext/git/gitutils_test.go")
  482. ;; Permission denied.
  483. (delete-file "daemon/graphdriver/devmapper/devmapper_test.go")
  484. ;; Operation not permitted (idtools.MkdirAllAndChown).
  485. (delete-file "daemon/graphdriver/vfs/vfs_test.go")
  486. ;; Timeouts after 5 min.
  487. (delete-file "plugin/manager_linux_test.go")
  488. ;; Operation not permitted.
  489. (delete-file "daemon/graphdriver/aufs/aufs_test.go")
  490. (delete-file "daemon/graphdriver/btrfs/btrfs_test.go")
  491. (delete-file "daemon/graphdriver/overlay/overlay_test.go")
  492. (delete-file "daemon/graphdriver/overlay2/overlay_test.go")
  493. (delete-file "pkg/chrootarchive/archive_unix_test.go")
  494. (delete-file "daemon/container_unix_test.go")
  495. ;; This file uses cgroups and /proc.
  496. (delete-file "pkg/sysinfo/sysinfo_linux_test.go")
  497. ;; This file uses cgroups.
  498. (delete-file "runconfig/config_test.go")
  499. ;; This file uses /var.
  500. (delete-file "daemon/oci_linux_test.go")
  501. #t))
  502. (replace 'configure
  503. (lambda _
  504. (setenv "DOCKER_GITCOMMIT" (string-append "v" ,%docker-version))
  505. (setenv "VERSION" (string-append ,%docker-version "-ce"))
  506. ;; Automatically use bundled dependencies.
  507. ;; TODO: Unbundle - see file "vendor.conf".
  508. (setenv "AUTO_GOPATH" "1")
  509. ;; Respectively, strip the symbol table and debug
  510. ;; information, and the DWARF symbol table.
  511. (setenv "LDFLAGS" "-s -w")
  512. ;; Make build faster
  513. (setenv "GOCACHE" "/tmp")
  514. #t))
  515. (add-before 'build 'setup-go-environment
  516. (assoc-ref go:%standard-phases 'setup-go-environment))
  517. (replace 'build
  518. (lambda _
  519. ;; Our LD doesn't like the statically linked relocatable things
  520. ;; that go produces, so install the dynamic version of
  521. ;; dockerd instead.
  522. (invoke "hack/make.sh" "dynbinary")))
  523. (replace 'check
  524. (lambda _
  525. ;; The build process generated a file because the environment
  526. ;; variable "AUTO_GOPATH" was set. Use it.
  527. (setenv "GOPATH" (string-append (getcwd) "/.gopath"))
  528. ;; ".gopath/src/github.com/docker/docker" is a link to the current
  529. ;; directory and chdir would canonicalize to that.
  530. ;; But go needs to have the uncanonicalized directory name, so
  531. ;; store that.
  532. (setenv "PWD" (string-append (getcwd)
  533. "/.gopath/src/github.com/docker/docker"))
  534. (with-directory-excursion ".gopath/src/github.com/docker/docker"
  535. (invoke "hack/test/unit"))
  536. (setenv "PWD" #f)
  537. #t))
  538. (replace 'install
  539. (lambda* (#:key outputs #:allow-other-keys)
  540. (let* ((out (assoc-ref outputs "out"))
  541. (out-bin (string-append out "/bin")))
  542. (install-file "bundles/dynbinary-daemon/dockerd" out-bin)
  543. (install-file (string-append "bundles/dynbinary-daemon/dockerd-"
  544. (getenv "VERSION"))
  545. out-bin)
  546. #t)))
  547. (add-after 'install 'remove-go-references
  548. (assoc-ref go:%standard-phases 'remove-go-references)))))
  549. (inputs
  550. `(("btrfs-progs" ,btrfs-progs)
  551. ("containerd" ,containerd) ; for containerd-shim
  552. ("coreutils" ,coreutils)
  553. ("dbus" ,dbus)
  554. ("docker-proxy" ,docker-libnetwork-cmd-proxy)
  555. ("e2fsprogs" ,e2fsprogs)
  556. ("git" ,git)
  557. ("iproute2" ,iproute)
  558. ("iptables" ,iptables)
  559. ("kmod" ,kmod)
  560. ("libseccomp" ,libseccomp)
  561. ("pigz" ,pigz)
  562. ("procps" ,procps)
  563. ("runc" ,runc)
  564. ("util-linux" ,util-linux)
  565. ("lvm2" ,lvm2)
  566. ("tini" ,tini)
  567. ("xfsprogs" ,xfsprogs)
  568. ("xz" ,xz)))
  569. (native-inputs
  570. `(("eudev" ,eudev) ; TODO: Should be propagated by lvm2 (.pc -> .pc)
  571. ("go" ,go)
  572. ("gotestsum" ,gotestsum)
  573. ("pkg-config" ,pkg-config)))
  574. (synopsis "Docker container component library, and daemon")
  575. (description "This package provides a framework to assemble specialized
  576. container systems. It includes components for orchestration, image
  577. management, secret management, configuration management, networking,
  578. provisioning etc.")
  579. (home-page "https://mobyproject.org/")
  580. (license license:asl2.0)))
  581. (define-public docker-cli
  582. (package
  583. (name "docker-cli")
  584. (version %docker-version)
  585. (source
  586. (origin
  587. (method git-fetch)
  588. (uri (git-reference
  589. (url "https://github.com/docker/cli")
  590. (commit (string-append "v" version))))
  591. (file-name (git-file-name name version))
  592. (sha256
  593. (base32 "1bynmnaykhh1m42v6bxparlpm9kajpqsvlrlwgz1b9ivcklf5ik6"))))
  594. (build-system go-build-system)
  595. (arguments
  596. `(#:import-path "github.com/docker/cli"
  597. ;; TODO: Tests require a running Docker daemon.
  598. #:tests? #f
  599. #:phases
  600. (modify-phases %standard-phases
  601. (add-before 'build 'setup-environment-2
  602. (lambda _
  603. ;; Respectively, strip the symbol table and debug
  604. ;; information, and the DWARF symbol table.
  605. (setenv "LDFLAGS" "-s -w")
  606. ;; Make sure "docker -v" prints a usable version string.
  607. (setenv "VERSION" ,%docker-version)
  608. ;; Make build reproducible.
  609. (setenv "BUILDTIME" "1970-01-01 00:00:01.000000000+00:00")
  610. (symlink "src/github.com/docker/cli/scripts" "./scripts")
  611. (symlink "src/github.com/docker/cli/docker.Makefile" "./docker.Makefile")
  612. #t))
  613. (replace 'build
  614. (lambda _
  615. (invoke "./scripts/build/dynbinary")))
  616. (replace 'check
  617. (lambda* (#:key make-flags tests? #:allow-other-keys)
  618. (setenv "PATH" (string-append (getcwd) "/build:" (getenv "PATH")))
  619. (if tests?
  620. ;; Use the newly-built docker client for the tests.
  621. (with-directory-excursion "src/github.com/docker/cli"
  622. ;; TODO: Run test-e2e as well?
  623. (apply invoke "make" "-f" "docker.Makefile" "test-unit"
  624. (or make-flags '())))
  625. #t)))
  626. (replace 'install
  627. (lambda* (#:key outputs #:allow-other-keys)
  628. (let* ((out (assoc-ref outputs "out"))
  629. (out-bin (string-append out "/bin"))
  630. (etc (string-append out "/etc")))
  631. (with-directory-excursion "src/github.com/docker/cli/contrib/completion"
  632. (install-file "bash/docker"
  633. (string-append etc "/bash_completion.d"))
  634. (install-file "fish/docker.fish"
  635. (string-append etc "/fish/completions"))
  636. (install-file "zsh/_docker"
  637. (string-append etc "/zsh/site-functions")))
  638. (chdir "build")
  639. (install-file "docker" out-bin)
  640. #t))))))
  641. (native-inputs
  642. `(("go" ,go)
  643. ("libltdl" ,libltdl)
  644. ("pkg-config" ,pkg-config)))
  645. (synopsis "Command line interface to Docker")
  646. (description "This package provides a command line interface to Docker.")
  647. (home-page "https://www.docker.com/")
  648. (license license:asl2.0)))
  649. (define-public cqfd
  650. (package
  651. (name "cqfd")
  652. (version "5.1.0")
  653. (source (origin
  654. (method git-fetch)
  655. (uri (git-reference
  656. (url "https://github.com/savoirfairelinux/cqfd")
  657. (commit (string-append "v" version))))
  658. (file-name (git-file-name name version))
  659. (sha256
  660. (base32
  661. "1xhydz01f2rrnw7rmnaxh3f3q1ariq7j2ig0i0w1p3wn10l3q0nv"))))
  662. (build-system gnu-build-system)
  663. (arguments
  664. ;; The test suite requires a docker daemon and connectivity.
  665. `(#:tests? #f
  666. #:phases
  667. (modify-phases %standard-phases
  668. (delete 'configure)
  669. (delete 'build)
  670. (replace 'install
  671. (lambda* (#:key outputs #:allow-other-keys)
  672. (let ((out (assoc-ref outputs "out")))
  673. ;; Fix the directory of the bash completion.
  674. (substitute* "Makefile"
  675. (("completionsdir=.*$")
  676. (string-append "completionsdir=" out
  677. "/etc/bash_completion.d; \\\n")))
  678. (invoke "make" "install"
  679. (string-append "PREFIX=" out))))))))
  680. (home-page "https://github.com/savoirfairelinux/cqfd")
  681. (synopsis "Convenience wrapper for Docker")
  682. (description "cqfd is a Bash script that provides a quick and convenient
  683. way to run commands in the current directory, but within a Docker container
  684. defined in a per-project configuration file.")
  685. (license license:gpl3+)))
  686. (define-public tini
  687. (package
  688. (name "tini")
  689. (version "0.18.0")
  690. (source (origin
  691. (method git-fetch)
  692. (uri (git-reference
  693. (url "https://github.com/krallin/tini")
  694. (commit (string-append "v" version))))
  695. (file-name (git-file-name name version))
  696. (sha256
  697. (base32
  698. "1h20i3wwlbd8x4jr2gz68hgklh0lb0jj7y5xk1wvr8y58fip1rdn"))))
  699. (build-system cmake-build-system)
  700. (arguments
  701. `(#:tests? #f ;tests require a Docker daemon
  702. #:phases (modify-phases %standard-phases
  703. (add-after 'unpack 'disable-static-build
  704. ;; Disable the static build as it fails to install, with
  705. ;; the error: "No valid ELF RPATH or RUNPATH entry exists
  706. ;; in the file".
  707. (lambda _
  708. (substitute* "CMakeLists.txt"
  709. ((".*tini-static.*") ""))
  710. #t)))))
  711. (home-page "https://github.com/krallin/tini")
  712. (synopsis "Tiny but valid init for containers")
  713. (description "Tini is an init program specifically designed for use with
  714. containers. It manages a single child process and ensures that any zombie
  715. processes produced from it are reaped and that signals are properly forwarded.
  716. Tini is integrated with Docker.")
  717. (license license:expat)))