diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-07-02 12:07:00 +0200 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-21 01:25:04 -0400 |
commit | 00dff0bf6e948aa76d98fc8f75a7831385c5e77d (patch) | |
tree | 9b34cf9327e64cae6fac6c2f1652f00ac2eb62e4 /gnu/packages | |
parent | 8f292c1b6247212a9208c983783a84118227b287 (diff) |
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
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/dictionaries.scm | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 55ff0398fd..f29fd55eeb 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages curl) #:use-module (gnu packages emacs) #:use-module (gnu packages flex) @@ -242,14 +243,14 @@ and a Python library.") (name "translate-shell") (version "0.9.7.1") (source - (origin - (method git-fetch) - (uri (git-reference - (url"https://github.com/soimort/translate-shell") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0jfrypcz963pfvwwaz2i0xvwp2909ldzp15v68mgd2mbqkqw9d90")))) + (origin + (method git-fetch) + (uri (git-reference + (url"https://github.com/soimort/translate-shell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jfrypcz963pfvwwaz2i0xvwp2909ldzp15v68mgd2mbqkqw9d90")))) (build-system gnu-build-system) (arguments `(#:phases @@ -267,11 +268,11 @@ and a Python library.") (fribidi (assoc-ref inputs "fribidi")) (rlwrap (assoc-ref inputs "rlwrap"))) (wrap-program bin - `("PATH" ":" prefix - (,(string-append out "/bin:" - curl "/bin:" - fribidi "/bin:" - rlwrap "/bin"))))))) + `("PATH" ":" prefix + (,(string-append out "/bin:" + curl "/bin:" + fribidi "/bin:" + rlwrap "/bin"))))))) (add-after 'install 'emacs-install (assoc-ref emacs:%standard-phases 'install)) (add-after 'emacs-install 'emacs-make-autoloads @@ -281,17 +282,17 @@ and a Python library.") #:make-flags (list (string-append "PREFIX=" %output) "NETWORK_ACCESS=no test") #:imported-modules (,@%default-gnu-imported-modules - (guix build emacs-build-system) - (guix build emacs-utils)) + (guix build emacs-build-system) + (guix build emacs-utils)) #:modules ((guix build gnu-build-system) ((guix build emacs-build-system) #:prefix emacs:) (guix build utils)) #:test-target "test")) (inputs - (list curl fribidi rlwrap)) + (list bash-minimal curl fribidi rlwrap)) (native-inputs - `(("emacs" ,emacs-minimal) - ("util-linux" ,util-linux))) ; hexdump, for the test + (list emacs-minimal + util-linux)) ; hexdump, for the test (home-page "https://www.soimort.org/translate-shell/") (synopsis "Translations from the command line") (description |