Commit graph

57 commits

Author SHA1 Message Date
Oleg Pykhalov
449dc8b749
gnu: docker-cli: Install shell completion.
* gnu/packages/docker.scm (docker-cli)[arguments]: Install shell completion.
2019-12-08 10:39:09 +03:00
Oleg Pykhalov
a349835edb
gnu: docker: Adjust tests for changes in go.
* gnu/packages/patches/docker-adjust-tests-for-changes-in-go.patch: New file.
* gnu/local.mk (dist_patch_DATA): Use this.
* gnu/packages/docker.scm (docker): Use this.
2019-11-03 14:48:21 +03:00
Leo Famulari
561d391ba8
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.
2019-10-29 11:03:12 -04:00
Maxim Cournoyer
b8e7e20841
gnu: docker: Add support for tini.
* gnu/packages/docker.scm (docker)[inputs]: Add tini.
[phases]{patch-paths}: Patch the path of the default init binary.
2019-09-05 09:38:23 +09:00
Maxim Cournoyer
92086eeda3
gnu: Add tini.
* gnu/packages/docker.scm (tini): New variable.
2019-09-05 09:38:22 +09:00
Tobias Geerinckx-Rice
35600cd9a0
gnu: docker-compose: Remove inputs for old Python versions.
* gnu/packages/docker.scm (docker-compose)[inputs]:
Remove python2-backport-ssl-match-hostname and python-ipaddress.
2019-08-05 01:06:58 +02:00
Tobias Geerinckx-Rice
d12578f2e2
gnu: python-docker-py: Propagate dependencies.
* gnu/packages/docker.scm (python-docker-py)[inputs]:
Move python-docker-pycreds and python-paramiko from here…
[propagated-inputs]: …to here.
(docker-compose)[inputs]: Remove them.
2019-08-05 01:06:58 +02:00
Tobias Geerinckx-Rice
e643d90f0f
gnu: docker-compose: Remove Windows-specific input.
* gnu/packages/docker.scm (docker-compose)[inputs]:
Remove python-colorama.
2019-08-05 01:06:57 +02:00
Marius Bakke
e920037793
gnu: docker-cli: Print a usable version string.
* gnu/packages/docker.scm (docker-cli)[arguments]<#:phases>: Set the VERSION
variable before building the package.
2019-08-04 13:33:42 +02:00
Jacob MacDonald
f24276de9a
gnu: docker-compose: Update to 1.24.1.
* gnu/packages/docker.scm (docker-compose): Update to 1.24.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
3146b6da6d
gnu: python-docker-py: Update to 3.7.3.
* gnu/packages/docker.scm (python-docker-py): Update to 3.7.3.
[inputs]: Use PYTHON-REQUESTS-2.20 instead of PYTHON-REQUESTS.
Add PYTHON-DOCKER-PYCREDS, PYTHON-IPADDRESS, PYTHON-PARAMIKO, and
PYTHON-URLLIB3-1.24.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
8bb591d426
gnu: python-dockerpty: Update to 0.4.1.
* gnu/packages/docker.scm (python-dockerpty): Update to 0.4.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Jacob MacDonald
d59d56b2ad
gnu: python-docker-pycreds: Update to 0.4.0.
* gnu/packages/docker.scm (python-docker-pycreds): Update to 0.4.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-13 15:13:53 +02:00
Tobias Geerinckx-Rice
914bba2809
gnu: docker-compose: Add required Python dependencies.
* gnu/packages/python-xyz.scm (python-jsonschema-2.6):
New old public variable.
* gnu/packages/docker.scm (docker-compose)[inputs]:
Add python-docker-pycreds and use python-jsonschema-2.6.
2019-06-16 19:44:42 +02:00
Maxim Cournoyer
112fd34fee
gnu: cqfd: Update to 5.1.0.
* gnu/packages/docker.scm (cqfd): Update to 5.1.0.
[description]: Fix typo.
2019-05-13 21:50:34 -04:00
Maxim Cournoyer
59781b32d8
gnu: docker: Refer to xz by its absolute path.
* gnu/packages/docker.scm (docker)[inputs]: Add xz.
[phases]{patch-paths}: Patch the reference to xz.
2019-05-05 21:21:02 -04:00
Maxim Cournoyer
80fec17f39
gnu: docker: Patch the reference to the docker proxy.
* gnu/packages/docker.scm (docker)[inputs]: Add docker-libnetwork-cmd-proxy.
* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Patch proxy.go to
refer to the docker-proxy binary by its absolute path.
2019-05-05 21:21:02 -04:00
Maxim Cournoyer
a01d54f3bd
gnu: docker: Optimize substitution macros.
This change halves the time needed to patch the paths.

* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Allow passing
multiple SOURCE-TEXT, PACKAGE and RELATIVE-PATH tuples so that the rewrite
rules can be generated and processed by a single use of the SUBSTITUTE*
macro.  Rename SUBSTITUTE-LOOKPATH to SUBSTITUTE-LOOKPATH* and
substitute-Command to SUBSTITUTE-COMMAND* to denote the change.  Adapt the
uses of SUBSTITUTE-LOOKPATH* and SUBSTITUTE-COMMAND*.
2019-05-05 21:21:02 -04:00
Maxim Cournoyer
079f0eb3d2
gnu: docker: Make macros use a relative path as argument.
* gnu/packages/docker.scm (docker)[phases]: Move implementation detail inside
the SUBSTITUTE-LOOKPATH and SUBSTITUTE-COMMAND macros definition, so that the
relative path argument can be given as a relative path.
2019-05-05 21:21:01 -04:00
Maxim Cournoyer
3f280d3950
gnu: docker: Harmonize LookPath regexes.
* gnu/packages/docker.scm (docker)[phases]: In the patch-paths phase, update
the regexes used by SUBSTITUTE-LOOKPATH and SUBSTITUTE-COMMAND to match at the
start of the word, like it's done later.
2019-05-05 21:21:01 -04:00
Maxim Cournoyer
1b14e1bccd
gnu: docker: Cleanup extraneous comments.
* gnu/packages/docker.scm (docker): Remove "parenthesis-balancing" comments.
2019-05-05 21:21:01 -04:00
Maxim Cournoyer
c627932639
gnu: docker: Fix indentation.
* gnu/packages/docker.scm (docker): Fix indentation using Emacs.
2019-05-05 21:20:58 -04:00
Maxim Cournoyer
0b94911add
gnu: Add docker-libnetwork-cmd-proxy.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): New variable.
2019-05-05 20:14:15 -04:00
Maxim Cournoyer
9c0244abbd
gnu: Add docker-libnetwork.
* gnu/packages/docker.scm (docker-libnetwork): New private variable.
2019-05-05 20:14:15 -04:00
Tobias Geerinckx-Rice
0e84987f50
gnu: docker, docker-cli: Update to 18.09.5.
* gnu/packages/docker.scm (%docker-version): Update to 18.09.5.
2019-04-16 22:40:04 +02:00
Danny Milosavljevic
516f6f55eb
gnu: docker: Use fewer modprobes.
Fixes <https://bugs.gnu.org/34333>.
Reported by Allan Adair <allan@adair.io>.

* gnu/packages/patches/docker-use-fewer-modprobes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/docker.scm (docker)[source]: Use it.
2019-03-25 20:27:57 +01:00
Tobias Geerinckx-Rice
a333cbf194
gnu: containerd: Update to 1.2.5.
* gnu/packages/docker.scm (containerd): Update to 1.2.5.
2019-03-14 23:18:49 +01:00
Tobias Geerinckx-Rice
947849010d
gnu: docker, docker-cli: Update to 18.09.3.
* gnu/packages/docker.scm (%docker-version): Update to 18.09.3.
2019-03-14 23:18:49 +01:00
Leo Famulari
e3900a4d64
build-system/go: Build with a filesystem union of Go dependencies.
This basically changes (guix build-system go) so that instead of looking
up its dependencies in a list of directories in $GOPATH, all the
Go dependencies are symlinked into a single directory.

Fixes <https://bugs.gnu.org/33620>.

* guix/build/go-build-system.scm (setup-go-environment): New variable.
(setup-environment, install-source): Remove variables.
(unpack): Unpack the source relative to $GOPATH.
(install): Do not install the compiled objects in the 'pkg' directory.
Install the source code in this phase, and only install the source of
the package named by IMPORT-PATH.
* doc/guix.texi (Build Systems): Adjust accordingly.
* gnu/packages/docker.scm (docker): Import (guix build union) on the build side
and adjust to build phase name changes in (guix build-system go).
* gnu/packages/shellutils.scm (direnv): Likewise.
* gnu/packages/databases.scm (mongo-tools)[arguments]:
Set '#:install-source #f'.
* gnu/packages/music.scm (demlo)[arguments]: Move the 'install-scripts'
phase after the 'install' phase.
2019-03-14 15:34:26 -04:00
Tobias Geerinckx-Rice
6c77b5a9f7
gnu: containerd: Update to 1.2.4.
* gnu/packages/docker.scm (containerd): Update to 1.2.4.
2019-02-19 09:54:34 +01:00
Tobias Geerinckx-Rice
74bf1b5da5
gnu: docker: Fix build on btrfs.
* gnu/packages/docker.scm (docker)[arguments]: Skip another test that
requires root privileges.
2019-02-19 09:54:33 +01:00
Leo Famulari
ea7cddaac7
gnu: Docker: Update to 18.09.2.
* gnu/packages/docker.scm (%docker-version, docker, docker-cli): Update to
18.09.2.
(docker)[arguments]: Adjust to the Debian-specific 'iptables-legacy' lookup in
the 'patch-paths' phase.
2019-02-12 12:53:12 -05:00
Maxim Cournoyer
975a953bfd
gnu: Add cqfd.
* gnu/packages/docker.scm (cqfd): New variable.
2019-02-05 09:33:39 -05:00
Tobias Geerinckx-Rice
26b7d23aa6
gnu: containerd: Update to 1.2.2.
* gnu/packages/docker.scm (containerd): Update to 1.2.2.
2019-02-04 09:39:12 +01:00
Tobias Geerinckx-Rice
17d25019fd
gnu: docker-cli: Use HTTPS home page.
* gnu/packages/docker.scm (docker-cli)[home-page]: Use HTTPS.
2019-02-04 09:39:12 +01:00
Ricardo Wurmus
44d10b1f72
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.
2019-01-15 14:46:44 +01:00
Danny Milosavljevic
f370509096
gnu: docker-cli: Don't install the same executable twice.
Reported by Meiyo Peng <meiyo.peng@gmail.com>.

* gnu/packages/docker.scm (docker-cli)[arguments]<#:phases>[install]:
Don't install the same executable twice.
2019-01-15 13:32:09 +01:00
Danny Milosavljevic
ffcd282702
gnu: docker: Booby-trap "Command" and "LookPath" calls.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[patch-paths]:
Booby-trap "Command" and "LookPath" calls.
2019-01-10 21:29:53 +01:00
Danny Milosavljevic
6b6a25d4d2
gnu: docker: Fix more paths.
* gnu/packages/docker.scm (docker)[inputs]: Add dbus, git.
[arguments]<#:phases>[patch-paths]: Use them.
2019-01-10 05:40:53 +01:00
Danny Milosavljevic
8cd958608c
gnu: docker: Disable tests requiring elevated permissions.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[delete-failing-tests]:
Disable tests requiring elevated permissions.
2019-01-10 04:46:29 +01:00
Danny Milosavljevic
8b487bf84f
gnu: containerd: Fix more paths.
* gnu/packages/docker.scm (containerd)[inputs]: Add util-linux.
[arguments]<#:phases>[patch-paths]: Fix more paths.
2019-01-10 04:34:57 +01:00
Danny Milosavljevic
58adcaa19f
gnu: docker: Fix more paths.
* gnu/packages/docker.scm (docker)[inputs]: Add util-linux.
[arguments]<#:phases>[patch-paths]: Fix more paths.
2019-01-10 04:33:47 +01:00
Danny Milosavljevic
65a7e35cb5
gnu: docker: Substitute LookPath of literals generally.
* gnu/packages/docker.scm (docker)[arguments]<#:phases>[patch-paths]:
Substitute LookPath of literals generally.
2019-01-10 03:12:32 +01:00
Danny Milosavljevic
e9b316453e
gnu: Add docker-cli.
* gnu/packages/docker.scm (docker-cli): New variable.
2019-01-10 03:01:12 +01:00
Danny Milosavljevic
f87ea24a82
gnu: Add docker.
* gnu/packages/docker.scm (docker): New variable.
* gnu/packages/patches/docker-engine-test-noinstall.patch: New file.
* gnu/packages/patches/docker-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
2019-01-10 02:49:14 +01:00
Danny Milosavljevic
40c7476af8
gnu: containerd: Update synopsis.
* gnu/packages/docker.scm (containerd)[synopsis]: Modify.
2019-01-07 19:13:04 +01:00
Danny Milosavljevic
54891e850a
gnu: containerd: Enable tests.
* gnu/packages/docker.scm (containerd)[arguments]: Remove #:tests?.
2019-01-07 19:12:14 +01:00
Ricardo Wurmus
1f1e338ad4
gnu: Add missing use-module clause.
This is a follow-up to 4e5b8f7215.

* gnu/packages/docker.scm: Add missing use-module clause.
2019-01-07 18:45:23 +01:00
Danny Milosavljevic
4e5b8f7215
gnu: Add containerd.
* gnu/packages/docker.scm (containerd): New variable.
2019-01-07 16:41:17 +01:00
Efraim Flashner
b24da117e8
gnu: python-docker-py: Update to 1.10.6.
* gnu/packages/docker.scm (python-docker-py): Update to 1.10.6.
2018-07-29 20:00:33 +03:00