aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2024-12-20 00:41:59 +0100
committerHanketsu <hanketsu@egregore.fun>2025-01-16 16:45:28 +0100
commit873d0e1eb86a299444a9f802fe5c2d548fcb554e (patch)
tree06fd668a1f4238510ec5ae37cde477e8b1ec49ae
parentf3509bbb71ba095144aa049de55c7ba0aecea178 (diff)
battering: Add python-discord.py-self.
* battering/packages/osint.scm (python-discord.py-self): New variable.
-rw-r--r--battering/packages/osint.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/battering/packages/osint.scm b/battering/packages/osint.scm
index 814e06d..ab8bb78 100644
--- a/battering/packages/osint.scm
+++ b/battering/packages/osint.scm
@@ -9,6 +9,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages protobuf)
+ #:use-module (gnu packages check)
#:use-module (gnu packages xml)
#:use-module ((guix licenses)
#:prefix license:))
@@ -84,3 +85,34 @@
(synopsis "Discord user settings protobufs.")
(description "Discord user settings protobufs.")
(license license:expat)))
+
+(define-public python-discord.py-self
+ (package
+ (name "python-discord.py-self")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "discord.py-self" version))
+ (sha256
+ (base32 "05xyd7d1mzn3xsw6crl2bp8y0k71dk07jfadvk9w4x880vk3nr4g"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-coverage
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-cov
+ python-pytest-mock
+ python-setuptools
+ python-wheel))
+ (propagated-inputs (list python-aiohttp
+ python-protobuf
+ python-discord-protos
+ python-typing-extensions
+ python-yarl))
+ (arguments
+ '(#:tests? #f))
+ (home-page "https://github.com/dolfies/discord.py-self")
+ (synopsis "A Python wrapper for the Discord user API")
+ (description
+ "This package provides a Python wrapper for the Discord user API.")
+ (license license:expat)))