Compare commits

..

2 Commits

Author SHA1 Message Date
Collin J. Doering 5276ad1a10
rekahsoft-gnu: Add docker-compose temporarily until fixed upstream
* rekahsoft-gnu/packages/python-xyz.scm: New variable docker-compose-fixed;
this is a variant of docker-compose that uses a pinned version of
python-pyyaml (<6.0), so it can successfully build (unlike current upstream).
2022-04-21 16:13:48 -04:00
Collin J. Doering efe8cbeff9
rekahsoft-gnu: Add python-pyyaml@5.4.1
* rekahsoft-gnu/packages/python-xyz.scm: Add variable python-pyyaml-5
2022-04-21 16:12:50 -04:00
1 changed files with 18 additions and 0 deletions

View File

@ -522,3 +522,21 @@ Amazon Web Services (AWS) API.")))
(synopsis "Automatically sync your bank's data with ledger") (synopsis "Automatically sync your bank's data with ledger")
(description "Automatically sync your bank's data with ledger") (description "Automatically sync your bank's data with ledger")
(license license:gpl3))) (license license:gpl3)))
(define-public python-pyyaml-5
(package
(inherit python-pyyaml)
(version "5.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyYAML" version))
(sha256
(base32
"0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))
;; TODO: this is a temporory fix after python-pyyaml was updated to 6.0, which is incompatible with docker-compose
;; See: https://ci.guix.gnu.org/build/646008/details
;; Note: docker-compose was rewritten in go, but has not yet been packaged for guix, and the python variant is the only one available
(define-public docker-compose-fixed
((package-input-rewriting `((,python-pyyaml . ,python-pyyaml-5))) (@ (gnu packages docker) docker-compose)))