mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: awscli: Add missing input.
Fixes <https://bugs.gnu.org/35980>. * gnu/packages/python-web.scm (awscli)[arguments]: Add build phase "fix-reference-to-groff". [inputs]: Add groff.
This commit is contained in:
parent
d37ba98409
commit
4b92dac20f
1 changed files with 16 additions and 3 deletions
|
@ -57,6 +57,7 @@ (define-module (gnu packages python-web)
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#:use-module (gnu packages databases)
|
#:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages django)
|
#:use-module (gnu packages django)
|
||||||
|
#:use-module (gnu packages groff)
|
||||||
#:use-module (gnu packages libffi)
|
#:use-module (gnu packages libffi)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
@ -1541,6 +1542,19 @@ (define-public awscli
|
||||||
(base32
|
(base32
|
||||||
"0sispclx263lybbk19zp1n9yhg8xxx4jddypzgi24vpjaqnsbwlc"))))
|
"0sispclx263lybbk19zp1n9yhg8xxx4jddypzgi24vpjaqnsbwlc"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
;; FIXME: The 'pypi' release does not contain tests.
|
||||||
|
'(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-reference-to-groff
|
||||||
|
(lambda _
|
||||||
|
(substitute* "awscli/help.py"
|
||||||
|
(("if not self._exists_on_path\\('groff'\\):") "")
|
||||||
|
(("raise ExecutableNotFoundError\\('groff'\\)") "")
|
||||||
|
(("cmdline = \\['groff'")
|
||||||
|
(string-append "cmdline = ['" (which "groff") "'")))
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-colorama" ,python-colorama)
|
`(("python-colorama" ,python-colorama)
|
||||||
("python-botocore" ,python-botocore)
|
("python-botocore" ,python-botocore)
|
||||||
|
@ -1548,9 +1562,8 @@ (define-public awscli
|
||||||
("python-docutils" ,python-docutils)
|
("python-docutils" ,python-docutils)
|
||||||
("python-pyyaml" ,python-pyyaml)
|
("python-pyyaml" ,python-pyyaml)
|
||||||
("python-rsa" ,python-rsa)))
|
("python-rsa" ,python-rsa)))
|
||||||
(arguments
|
(inputs
|
||||||
;; FIXME: The 'pypi' release does not contain tests.
|
`(("groff" ,groff)))
|
||||||
'(#:tests? #f))
|
|
||||||
(home-page "https://aws.amazon.com/cli/")
|
(home-page "https://aws.amazon.com/cli/")
|
||||||
(synopsis "Command line client for AWS")
|
(synopsis "Command line client for AWS")
|
||||||
(description "AWS CLI provides a unified command line interface to the
|
(description "AWS CLI provides a unified command line interface to the
|
||||||
|
|
Loading…
Reference in a new issue