summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2022-02-25 16:48:50 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2022-02-25 17:11:26 +0100
commita751795551b8294bb7e49160a6b5a0720c3ab9b4 (patch)
tree932a5c85ef5d2b3bf666b5f8229db1b5e1a2ecd2 /gnu
parented8d236eb938bc123a9ca8a079fea95edf7df6cd (diff)
downloadguix-a751795551b8294bb7e49160a6b5a0720c3ab9b4.tar.gz
gnu: Add python-librecaptcha.
* gnu/packages/messaging.scm (python-librecaptcha): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 779d37fdd7..2497c49e7d 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3278,4 +3278,25 @@ more)!  It connects via the Slack API, and maintains a persistent websocket
 for notification of events.")
     (license license:expat)))
 
+(define-public python-librecaptcha
+  (package
+    (name "python-librecaptcha")
+    (version "0.7.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/taylordotfish/librecaptcha")
+                     (commit version)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "0r35ws6vdf31j01kpacvpjplddm254r0cgy0npmhgnfxd5kpjf3s"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-pillow python-requests python-esprima python-pygobject gobject-introspection gtk+))
+    (synopsis "Show CAPTCHA without running proprietary code.")
+    (description "This package shows CAPTCHA without running proprietary code.")
+    (home-page "https://github.com/taylordotfish/librecaptcha")
+    (license license:gpl3+)))
+
 ;;; messaging.scm ends here