~ruther/guix-local

3eb1ceac58985c0407f3ade1cfa72dbee1b7886a — John Kehayias 11 months ago 42d7a9d
gnu: docker-compose: Fix build.

python-pyyaml-5 does not build and is needed for docker-compose.  This is
a stopgap until docker can be updated to the modern Go version, which
includes "docker compose".

* gnu/packages/docker.scm (docker-compose)[arguments]: Add phase fix-pyyaml
to relax python-pyyaml requirement.
[inputs]: Replace python-pyyaml-5 with python-pyyaml.

Change-Id: I7410f8b5a8f308aeaae5793399dbfc5eef0e1822
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 11 insertions(+), 2 deletions(-)

M gnu/packages/docker.scm
M gnu/packages/docker.scm => gnu/packages/docker.scm +11 -2
@@ 139,7 139,16 @@ client.")
         "1dq9kfak61xx7chjrzmkvbw9mvj9008k7g8q7mwi4x133p9dk32c"))))
    (build-system python-build-system)
    ;; TODO: Tests require running Docker daemon.
    (arguments '(#:tests? #f))
    (arguments
     (list
      #:tests? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-pyyaml
            (lambda _
              (substitute* "setup.py"
                ((", < 6")
                 "")))))))
    (inputs
     (list python-cached-property
           python-distro


@@ 148,7 157,7 @@ client.")
           python-docopt
           python-dotenv
           python-jsonschema-3
           python-pyyaml-5
           python-pyyaml
           python-requests
           python-six
           python-texttable