diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-07-02 12:07:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:42:37 +0200 |
commit | b7ff2afdfffc21a9c367642fa7da6c0cbb1c74b4 (patch) | |
tree | 749d5da0b3e83285140447987fbd98e83c6351ee /gnu | |
parent | 58ba26e049b04fa94999a4bcd4354874919680b9 (diff) | |
download | guix-b7ff2afdfffc21a9c367642fa7da6c0cbb1c74b4.tar.gz guix-b7ff2afdfffc21a9c367642fa7da6c0cbb1c74b4.zip |
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')
-rw-r--r-- | gnu/packages/dictionaries.scm | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 04fe6fc491..3f9b59c960 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 @@ -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 |