unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Raghav Gururajan <rg@raghavgururajan.name>
Cc: 48599@debbugs.gnu.org
Subject: [bug#48599] [PATCH] gnu: Add omemo-wget.
Date: Fri, 02 Jul 2021 12:23:55 +0200	[thread overview]
Message-ID: <87sg0xm2tg.fsf@gmail.com> (raw)
In-Reply-To: <20210523073802.20621-1-rg@raghavgururajan.name> (Raghav Gururajan's message of "Sun, 23 May 2021 03:38:02 -0400")

Hi Raghav,

I have not tried this patch.  It is 4 weeks so maybe you can push it if
it builds and works for you. WDYT?


On Sun, 23 May 2021 at 03:38, Raghav Gururajan <rg@raghavgururajan.name> wrote:
> * gnu/packages/messaging.scm (omemo-wget): New variable.
> ---
>  gnu/packages/messaging.scm | 41 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)

[...]

> +(define-public omemo-wget
> +  (package
> +    (name "omemo-wget")
> +    (version "0.3.0")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri
> +        (git-reference
> +         (url "https://github.com/roobre/omemo-wget")
> +         (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0s3vfaicw5xbjl9yiyr4ckrzhzqbvfh1w2ih1igavlfpgw4v7kva"))))
> +    (build-system go-build-system)
> +    (arguments
> +     `(#:import-path "github.com/roobre/omemo-wget"
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch-source
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (let* ((xdg-utils (assoc-ref inputs "xdg-utils"))
> +                    (xdg-open (string-append xdg-utils "/bin/xdg-open")))
> +               (substitute* (find-files "." "\\.go$")
> +                 ;; To correct the import path of 'aesgcm' package.
> +                 (("roob\\.re/omemo-wget/aesgcm")
> +                  "github.com/roobre/omemo-wget/aesgcm")
> +                 ;; To use absolute path of 'xdg-open' program.
> +                 (("xdg-open") xdg-open))))))))
> +    (inputs
> +     `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
> +       ("xdg-utils" ,xdg-utils)))       ; for xdg-open program
> +    (home-page "https://github.com/roobre/omemo-wget")
> +    (synopsis "CLI to download and decrypt aesgcm:// URLs")

Maybe as synopsis: "Command-line interface for downloading and
decrypting @code{aesgcm://} URLs".  WDYT?

Cheers,
simon




  reply	other threads:[~2021-07-02 10:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-23  7:38 [bug#48599] [PATCH] gnu: Add omemo-wget Raghav Gururajan via Guix-patches via
2021-07-02 10:23 ` zimoun [this message]
2021-07-16  9:52   ` Raghav Gururajan via Guix-patches via
2021-07-19  1:02   ` bug#48599: " Raghav Gururajan via Guix-patches via

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg0xm2tg.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=48599@debbugs.gnu.org \
    --cc=rg@raghavgururajan.name \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).