[PATCH] gnu: Add python-discord.py.

  • Open
  • quality assurance status badge
Details
One participant
  • Adam Kandur
Owner
unassigned
Submitted by
Adam Kandur
Severity
normal
A
A
Adam Kandur wrote on 13 Nov 2021 14:37
(name . Guix Patches)(address . guix-patches@gnu.org)
MoOW8kq--3-2@tuta.io

From 3eac8e320d0f31e74b7ce649881625244c777929 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd@tuta.io>
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(+)

Toggle diff (43 lines)
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 <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
+;;; Copyright © 2021 Adam Kandur <rndd@tuta.io>
;;;
;;; 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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 51810@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 51810
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch