From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eGYCHz7q3mCv4QAAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 12:28:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +MvVGj7q3mBqSQAA1q6Kng (envelope-from ) for ; Fri, 02 Jul 2021 10:28:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E25AB24A4F for ; Fri, 2 Jul 2021 12:28:13 +0200 (CEST) Received: from localhost ([::1]:41400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzGP6-0002ms-Sr for larch@yhetil.org; Fri, 02 Jul 2021 06:28:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzGOx-0002jK-6P for guix-patches@gnu.org; Fri, 02 Jul 2021 06:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzGOw-0004cr-Ug for guix-patches@gnu.org; Fri, 02 Jul 2021 06:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzGOw-0000vL-RQ for guix-patches@gnu.org; Fri, 02 Jul 2021 06:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48599] [PATCH] gnu: Add omemo-wget. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Jul 2021 10:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48599 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Raghav Gururajan Cc: 48599@debbugs.gnu.org Received: via spool by 48599-submit@debbugs.gnu.org id=B48599.16252216513493 (code B ref 48599); Fri, 02 Jul 2021 10:28:02 +0000 Received: (at 48599) by debbugs.gnu.org; 2 Jul 2021 10:27:31 +0000 Received: from localhost ([127.0.0.1]:34935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzGOR-0000uC-2N for submit@debbugs.gnu.org; Fri, 02 Jul 2021 06:27:31 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:55823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzGOG-0000ss-K9 for 48599@debbugs.gnu.org; Fri, 02 Jul 2021 06:27:21 -0400 Received: by mail-wm1-f54.google.com with SMTP id j34so6328540wms.5 for <48599@debbugs.gnu.org>; Fri, 02 Jul 2021 03:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KExhMUWq77F8qMCfjJGZoxEqcOXvPvIGIkV/rJK1KX4=; b=a9UqiknV/dx+KWEoTDwswczbOzgTboTXJqTCo/nU6DpZvOx3gBhfYqwgnStsY99Wod TQjudADAu/mf5miAJAub6Du+J7a/1x0IE1hI27FYfYCQt7qvYfI5i/8XoJAeyNVG6K/C JL2YKWKOUvdn1ANHvF6rFkIYNR1ShMufpRwbLOcC/dg9RHmxxTQPq+WVBX9QDGzK4YUR kkPmfU5I1MhsFI4U+cSSZ2FrHX+8s7M8mIs0oAhkyWa8gqLnzYLLCrtWbWWN+g6ET81g PuKi/WiM57zcdppHsZhe/OBbDsced14LN6izql9gyfogwqkR4cfISWmQ8fqsJ8TyB+3Z DLUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KExhMUWq77F8qMCfjJGZoxEqcOXvPvIGIkV/rJK1KX4=; b=cLCb+JrGAL7JVy+LD0+o9pXYrZV94qkpvI0szoU7KdwuhuzfSzmJ7myeH/WZOnu5UJ wqDE3grBeNpPUmlsUbYo98SpBrHGInGLHD5WJMRQC2lcHuRLXmU1AoQL1dUkD0LMic42 hfahq4bF770KfWZwHoMFZpPiR2LSGr9TaosLXCsGmyizaN/vtv/ptVaUVq7c2rc3LEeh ukFSK6sXSVW0lLSwjLj7QCnTxCCCdLMOWwxHKph7wGbZTB5C3yneL2NZfpA5VEZKXtaQ tKwLn4YsdBDEnvRJLe8ert7UeGojsgHWHzTWW/UqHT3k6oGhBZVnHl9w+1EOb/ftp1sE /lww== X-Gm-Message-State: AOAM5304aB/xmqTNiJR5fr+cIwEbG6DWCh6YIf9QmD5Egv5mW0LFDWZe M6Fb6aRu6z5voH4F9N3yy+Q6VI5FMs8= X-Google-Smtp-Source: ABdhPJx3Fn7Em9yqZ/2y2QVtqhwmCs+RS+HWBSA0jQgiZ40yAkaaZUdU0vMQ8AY1TZ+pqu2aHKhQEg== X-Received: by 2002:a05:600c:4f96:: with SMTP id n22mr4741867wmq.116.1625221635053; Fri, 02 Jul 2021 03:27:15 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c16sm2585358wmr.2.2021.07.02.03.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 03:27:14 -0700 (PDT) From: zimoun References: <20210523073802.20621-1-rg@raghavgururajan.name> Date: Fri, 02 Jul 2021 12:23:55 +0200 In-Reply-To: <20210523073802.20621-1-rg@raghavgururajan.name> (Raghav Gururajan's message of "Sun, 23 May 2021 03:38:02 -0400") Message-ID: <87sg0xm2tg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625221694; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=KExhMUWq77F8qMCfjJGZoxEqcOXvPvIGIkV/rJK1KX4=; b=phrA6RJXYWBe2d/f0eR9LBal5kmGg4H3GeMmua6iB76hBIdDLkVECSFIEwhZ1gP2PLWF6q 2dFr57/SLjWsTKFG2SpWdZoLkNR/h18WzuEPcsP9rvYGLRheWgNYcSwgdqRYKMisVEflt1 Cut9Bx/y9sWSYJ3WQ7fwewxGZgjRqmAN0YeCcuZ+CHhiCjzZcrjVwx5EI2Nwse0t3Fk2oG pb5tNmyufnq9O0vKVbhkPr2AMlW8ealUNy2awZ5FmvLDkpOgfB2OkimV7TPgb5N2r9RUVh g6U1oTzf7n4qGClCsutwEOsmX6XPGbk3teuCswi5x7STcu/yVS6XVxvWcAbUsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625221694; a=rsa-sha256; cv=none; b=jardB/kSbTnt/sahXpiu9iJGgHBD1ANgUNK0gdVu3sfYA3ew2JyR2+EasblflrffcHY1wv +OcprkCScTdQlH7KD5ItpweCypp5NSYcCElk7SFxzjKSXVAg4P7piOXB/S/8BHodxZ38Ux AtsilJyN32BrWfIwwav97ksMKmy8AXbjbPHB4v4p669GhFHALbIKcRSsvAyUGES3HBnpMf MByKsyc8f5MdKHPxRilJ9xOssVlfwqsReI0IY/6iRl3Ab4hrPKl6dBeMMRjw1d3DKA/lNR P3y1Vqfp49+gDYWln2uQtIRIdqj4C91TPjLy99yBibqNeNEucbXUumf0vHNCxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=a9UqiknV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=a9UqiknV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E25AB24A4F X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: eCteNhGA5OBN 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 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