From patchwork Sat Nov 13 13:37:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adam Kandur X-Patchwork-Id: 34426 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E5DB727BBE3; Sat, 13 Nov 2021 13:39:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED,URIBL_DBL_SPAM autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA8A527BBE1 for ; Sat, 13 Nov 2021 13:39:19 +0000 (GMT) Received: from localhost ([::1]:54300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mltFW-0006ux-Pv for patchwork@mira.cbaines.net; Sat, 13 Nov 2021 08:39:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mltFG-0006uR-Dv for guix-patches@gnu.org; Sat, 13 Nov 2021 08:39:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mltFG-0005BA-5W for guix-patches@gnu.org; Sat, 13 Nov 2021 08:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mltFF-00013n-Ro for guix-patches@gnu.org; Sat, 13 Nov 2021 08:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51810] [PATCH] gnu: Add python-discord.py. Resent-From: Adam Kandur Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51810 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51810@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.16368106833985 (code B ref -1); Sat, 13 Nov 2021 13:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2021 13:38:03 +0000 Received: from localhost ([127.0.0.1]:46733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mltEF-00011s-0P for submit@debbugs.gnu.org; Sat, 13 Nov 2021 08:38:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:55790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mltE9-00011g-Ec for submit@debbugs.gnu.org; Sat, 13 Nov 2021 08:37:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mltE9-0006kp-6V for guix-patches@gnu.org; Sat, 13 Nov 2021 08:37:53 -0500 Received: from w4.tutanota.de ([81.3.6.165]:46048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mltE5-00054b-Ay for guix-patches@gnu.org; Sat, 13 Nov 2021 08:37:51 -0500 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id 63B1B1060163 for ; Sat, 13 Nov 2021 13:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1636810662; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=oxQtgvoHEwPUJ8n6h+V1nJiD6Ets5JO2HzwiLgeb28I=; b=u1UdFqflqpon9dAUxkvkCY4lBhwdsDGjvajl5YKPd+3RFjmkhcOdwhlCg/WuXxqR urcTTNcpF9l6BFRnW2Pkabh8HYxI5veEwK2js4TglttkUwB6B1aIxW8sQCAP15F53fZ Et5nVrJFAFs4QbWL4oeL+Gv6P2eg19BSY1VkN6v9GDoWk5lIDvFBEqLtf9XNGUqmHI0 XB/6Os5ZO2tEnHYzMhyxb0enGMMWqHN1jjwqtT+g1NdmDSkyq59eD0zz7GKSsdM9Jvm WG8OI5RdNGfTrI+wq2S1zv9siZiXP/n/YQqUhIU8srjWz+v75VaGhEs2Kne27aM4rz5 On5CXcKibQ== Date: Sat, 13 Nov 2021 14:37:42 +0100 (CET) Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=81.3.6.165; envelope-from=rndd@tuta.io; helo=w4.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Adam Kandur X-ACL-Warn: , Adam Kandur via Guix-patches X-Patchwork-Original-From: Adam Kandur via Guix-patches via From: Adam Kandur X-getmail-retrieved-from-mailbox: Patches From 3eac8e320d0f31e74b7ce649881625244c777929 Mon Sep 17 00:00:00 2001 From: Adam Kandur Date: Sat, 13 Nov 2021 16:33:59 +0300 Subject: [PATCH] gnu: Add python-discord.py. * gnu/packages/python-xyz.scm (python-discord.py): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e5cdaad..027e957 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -111,6 +111,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte +;;; Copyright © 2021 Adam Kandur ;;; ;;; This file is part of GNU Guix. ;;; @@ -2076,6 +2077,28 @@ (define-public python-diskcache (description "DiskCache is a disk and file backed persistent cache.") (license license:asl2.0))) +(define-public python-discord.py + (package + (name "python-discord.py") + (version "1.7.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Rapptz/discord.py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0la2fcfn25xgy0iag6w2kjrpm7xqpa0zyy77cmfimksjc76c59bq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp))) + (home-page "https://discordpy.readthedocs.io/en/stable") + (synopsis "An API wrapper for Discord written in Python") + (description + "Modern, easy to use, feature-rich, and async ready API wrapper for Discord.") + (license license:expat))) + (define-public python-bitstruct (package (name "python-bitstruct") -- 2.33.1