From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uMuSDGeqfWGdTwAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 22:26:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EI08CGeqfWEcFgAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 20:26:15 +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 E874564BE for ; Sat, 30 Oct 2021 22:26:14 +0200 (CEST) Received: from localhost ([::1]:38486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mguve-0001mz-4a for larch@yhetil.org; Sat, 30 Oct 2021 16:26:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mguvS-0001UK-Ts for guix-patches@gnu.org; Sat, 30 Oct 2021 16:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mguvS-0005eL-Lc for guix-patches@gnu.org; Sat, 30 Oct 2021 16:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mguvS-0001Dc-J5 for guix-patches@gnu.org; Sat, 30 Oct 2021 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51520] [PATCH 3/3] gnu: Add weechat-wee-slack. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Oct 2021 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51520 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51520@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 51520-submit@debbugs.gnu.org id=B51520.16356255294629 (code B ref 51520); Sat, 30 Oct 2021 20:26:02 +0000 Received: (at 51520) by debbugs.gnu.org; 30 Oct 2021 20:25:29 +0000 Received: from localhost ([127.0.0.1]:58507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mguuu-0001CW-PG for submit@debbugs.gnu.org; Sat, 30 Oct 2021 16:25:29 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:54822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mguuk-0001Bp-Py for 51520@debbugs.gnu.org; Sat, 30 Oct 2021 16:25:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lpdC+e+zGIncMJuSc9BMhq7mNIccW605dT4HvN7oAuo=; b=i6uSIEOeqF0BthJsuXg0lY3heg wrLX6RscryOTLXlKIl0FwBnPH4+f5L7giIC93vaWS1lx3MQxD2SCBmOXefjaqUxbbiiLdESzQlMTB ldJeHVT+/cuiO86mmJRqlJOwFlXTcnOS9NSb/YyST6rZFEfRC1uWjD1bE/0NejZccUTguaARrABFB 4lLvpeiC16wYa91siL43cIRso8W31fqTpwSfJh929ybTofBKNZSeBgfueUMC+0al5MIi/V+oCv1QS QAgJPgNSjmvnmyTb8jJW6nQrOjUyBdkvXZYQ6HdeZnviBxI+/SeqjJ+yewzWndGoBqtEalltSi/tP gajAKLlA==; Received: from [192.168.2.1] (port=59960 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1mguui-0003Cr-FF; Sun, 31 Oct 2021 01:55:16 +0530 From: Arun Isaac Date: Sun, 31 Oct 2021 01:55:14 +0530 Message-Id: <20211030202514.18639-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211030202514.18639-1-arunisaac@systemreboot.net> References: <20211030202514.18639-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1635625575; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=lpdC+e+zGIncMJuSc9BMhq7mNIccW605dT4HvN7oAuo=; b=DVfh9KoUN+F2pk9vRt2LvvBB9sdZvEz6lWVfMhucy5GW+eAwcBFvom+MIuX/NVAm4fPKpZ aF8OzpG4SrOy2HIuteSrMix2k3dBoxmvg/5kPdMjuiEjxtOuAtLdA2B/2Aanj1JuYkzsOJ l7T1qU6JW1qLPI70ngvDJoBs1jh2T3BYAmM99DajRza4IS1Xuh/s3EhEyeSFh+CerFAjDi XLDgrimBiJGL6YoQQSPIwJYbQaGRPe7OVIAe2vcSn8i5SdL3DNCyZYecPEff1cN/OI4pdd LZwn4wmGOex4vzg0Dhnd4OcO/tmn+i6hXq9AWcnxN9E9W1vavK1D+WpodsRowg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635625575; a=rsa-sha256; cv=none; b=b6e5cP+HiWyhJzKxEkAa4J8GkvPLVLbedenD7ykofx9yNGUE5xhthPM9dusG+Tcra78WJP AN4uTxgCIF2zVMgpIbE4COx6ZGpieEWJRf0uRXzvEqtdD9urnQuSbVf1mlmaWcGLWkdUjI +9i6ead46FcD4xhz5NnI2PZFIE6bcuYn41ZnlIfyphJkV8rGkSDETJ6v5GbSf2p8RIW5sz k+HpWXdlOumXeClG0eg3brZ/ytF/QOj3EWfGX20EUpI5gM13Rs6gVTXT2LynjopCeK/0If k7FGopCg4zZhMhzJd/+xl6K8khpIW5BkuWRciksfkN7yP2MlLa1fr2/I6UIPXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=i6uSIEOe; 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: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=i6uSIEOe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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: E874564BE X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4nJgB22AgqA0 * gnu/packages/messaging.scm (weechat-wee-slack): New variable. --- gnu/packages/messaging.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index e684c60c0c..60a9fc3033 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3059,4 +3059,54 @@ (define-public weechat-matrix Weechat communicate over the Matrix protocol.") (license license:isc))) +(define-public weechat-wee-slack + (package + (name "weechat-wee-slack") + (version "2.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wee-slack/wee-slack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xfklr0gsc9jgxfyrrb2j756lclz9g8imcb0pk0xgyj8mhsw23zk")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'build) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Augment sys.path so that dependencies are found. + (substitute* "wee_slack.py" + (("import sys\n" all) + (apply string-append + all + (map (lambda (path) + (string-append "sys.path.append('" path "')\n")) + (string-split (getenv "PYTHONPATH") #\:))))) + ;; Install script. + (install-file "wee_slack.py" + (string-append (assoc-ref outputs "out") + "/share/weechat/python")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (inputs + `(("python-websocket-client" ,python-websocket-client))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/wee-slack/wee-slack") + (synopsis "Weechat Slack script") + (description "@code{weechat-wee-slack} is a WeeChat native client for +Slack. It provides supplemental features only available in the web/mobile +clients such as synchronizing read markers, typing notification, threads (and +more)! It connects via the Slack API, and maintains a persistent websocket +for notification of events.") + (license license:expat))) + ;;; messaging.scm ends here -- 2.33.0