From: Marius Bakke <mbakke@fastmail.com>
To: Oleg Pykhalov <go.wigust@gmail.com>, 30933@debbugs.gnu.org
Subject: [bug#30933] [PATCH 2/2] gnu: translate-shell: Update to 0.9.6.7-1.bb9f32d.
Date: Mon, 26 Mar 2018 20:03:18 +0200 [thread overview]
Message-ID: <87tvt2iujd.fsf@fastmail.com> (raw)
In-Reply-To: <20180325095706.4508-2-go.wigust@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2576 bytes --]
Oleg Pykhalov <go.wigust@gmail.com> writes:
> * gnu/packages/dictionaries.scm (translate-shell): Update to
> 0.9.6.7-1.bb9f32d.
> [arguments](make-flags): Add "NETWORK_ACCESS=no test".
> [phases]: Add 'change-file-permissions' phase.
[...]
> (define-public translate-shell
> - (package
> - (name "translate-shell")
> - (version "0.9.6.4")
> - (source
> - (origin
> - (method url-fetch)
> - (uri (string-append "https://github.com/soimort/" name "/archive/v"
> - version ".tar.gz"))
> - (sha256
> - (base32
> - "1fg6nf1plvgimc57fsdr9rcjbf7jvmk5jrlj5ya509vpdcdgvj2s"))
> - (file-name (string-append name "-" version ".tar.gz"))))
> - (build-system gnu-build-system)
> - (arguments
> - `(#:phases
> - (modify-phases %standard-phases
> - (delete 'configure) ; no configure phase
> - (add-after 'install 'emacs-install
> - (lambda* (#:key inputs outputs #:allow-other-keys)
> - (let* ((out (assoc-ref outputs "out"))
> - (dest (string-append out "/share/emacs/site-lisp"))
> - (emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs")))
> - (install-file "google-translate-mode.el" dest)
> - (emacs-generate-autoloads ,name dest)))))
> - #:make-flags (list (string-append "PREFIX=" %output))
> - #:imported-modules (,@%gnu-build-system-modules (guix build emacs-utils))
> - #:modules ((guix build gnu-build-system)
> - (guix build emacs-utils)
> - (guix build utils))
> - #:test-target "test"))
> - (propagated-inputs
> - `(("curl" ,curl)
> - ("fribidi" ,fribidi)
> - ("rlwrap" ,rlwrap)))
> - (native-inputs
> - `(("emacs" ,emacs-minimal)
> - ("util-linux" ,util-linux))) ; hexdump, for the test
> - (home-page "https://www.soimort.org/translate-shell/")
> - (synopsis "Translations from the command line")
> - (description
> - "Translate Shell (formerly Google Translate CLI) is a command-line
> + (let ((commit "bb9f32d3145125ba664b6b05bf0a2fd34108e9d2"))
> + (package
> + (name "translate-shell")
> + (version (git-version "0.9.6.7" "1" commit))
There are only five commits since this version. I assume the git
checkout is because of the patch that adds "NETWORK_ACCESS"?
The patch itself is smaller than the reindent from the let binding, so I
would prefer to simply add it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2018-03-26 18:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-25 9:54 [bug#30933] [PATCH 0/2] gnu: translate-shell: Update to 0.9.6.7-1.bb9f32d Oleg Pykhalov
2018-03-25 9:57 ` [bug#30933] [PATCH 1/2] gnu: translate-shell: Update home-page Oleg Pykhalov
2018-03-25 9:57 ` [bug#30933] [PATCH 2/2] gnu: translate-shell: Update to 0.9.6.7-1.bb9f32d Oleg Pykhalov
2018-03-26 18:03 ` Marius Bakke [this message]
2018-03-26 19:50 ` Oleg Pykhalov
2018-03-26 18:03 ` [bug#30933] [PATCH 1/2] gnu: translate-shell: Update home-page Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvt2iujd.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=30933@debbugs.gnu.org \
--cc=go.wigust@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.