gnu: translate-shell: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/dictionaries.scm
(translate-shell): Fix indentation.
[inputs]: Add 'bash-minimal'.
[native-inputs]: Remove labels.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3fcca53b2645f5eb15be7eb9b91217525a2e4e3a
This commit is contained in:
Maxime Devos 2021-07-02 12:07:00 +02:00 committed by Ludovic Courtès
parent 58ba26e049
commit b7ff2afdff
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -38,6 +38,7 @@ (define-module (gnu packages dictionaries)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages emacs) #:use-module (gnu packages emacs)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
@ -288,10 +289,10 @@ (define-public translate-shell
(guix build utils)) (guix build utils))
#:test-target "test")) #:test-target "test"))
(inputs (inputs
(list curl fribidi rlwrap)) (list bash-minimal curl fribidi rlwrap))
(native-inputs (native-inputs
`(("emacs" ,emacs-minimal) (list emacs-minimal
("util-linux" ,util-linux))) ; hexdump, for the test util-linux)) ; hexdump, for the test
(home-page "https://www.soimort.org/translate-shell/") (home-page "https://www.soimort.org/translate-shell/")
(synopsis "Translations from the command line") (synopsis "Translations from the command line")
(description (description