guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#52997] [PATCH] gnu: Add python-facebook-sdk.


From: Giacomo Leidi
Subject: [bug#52997] [PATCH] gnu: Add python-facebook-sdk.
Date: Tue, 4 Jan 2022 01:30:03 +0100

* gnu/packages/python-web.scm (python-facebook-sdk): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bc7e21ca85..90193590dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6264,3 +6264,32 @@ (define-public python-mwparserfromhell
 Full documentation may be found at
 @uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
     (license license:expat)))
+
+(define-public python-facebook-sdk
+  (package
+    (name "python-facebook-sdk")
+    (version "3.1.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+         (git-reference
+          (url "https://github.com/mobolic/facebook-sdk";)
+          (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0p7p0wvcspd9p8d6r25bgjbf0ihdw5g1jw3dylwngrazdmc3g36b"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require network access.
+     `(#:tests? #f))
+    (propagated-inputs `(("python-requests" ,python-requests)))
+    (home-page "https://facebook-sdk.readthedocs.io";)
+    (synopsis
+      "Facebook Graph API client in Python")
+    (description
+      "This client library is designed to support the Facebook Graph API and
+the official Facebook JavaScript SDK, which is the canonical way to implement
+Facebook authentication.")
+    (license license:asl2.0)))

base-commit: 0c5a58e34d894b95d94c61aae0525a01fa18ecd2
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]