From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "56404@debbugs.gnu.org" <56404@debbugs.gnu.org>
Subject: [bug#56404] [PATCH 1/2] gnu: Add python-msal.
Date: Tue, 05 Jul 2022 17:24:23 +0000 [thread overview]
Message-ID: <Jotl7VlAaZD5lu0DdGaBF03oHYPAiTDBr07o8gbXLYbzu49uo2ezz_NStqOmtrZ8LVlOB5rcuscXVkv9EusS_o4MZkun6l-srnpBw3RWVCA=@protonmail.com> (raw)
In-Reply-To: <p-Wza1MknYRefoD6SE9qJq0ASdnGySKFjvnzIc3LGoQMoB4yspPjtKFwHsjFB-G95s31BrYON1XqaOhgikNywQQW0c_koHHJh3QNbevhpeM=@protonmail.com>
[-- Attachment #1: Type: text/plain, Size: 13 bytes --]
Empty Message
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-msal.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-msal.patch, Size: 2219 bytes --]
From 4667c19525d5a2e602e13fde46120d4dcac0d6b9 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 5 Jul 2022 13:12:43 -0400
Subject: [PATCH 1/2] gnu: Add python-msal.
* gnu/packages/python-web.scm (python-msal): New variable.
---
gnu/packages/python-web.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f951595c8..a2dcf49569 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2954,6 +2954,38 @@ (define-public python-requests-ftp
adapter for use with the Requests library.")
(license license:asl2.0)))
+(define-public python-msal
+ (package
+ (name "python-msal")
+ (version "1.18.0")
+ (home-page
+ "https://github.com/AzureAD/microsoft-authentication-library-for-python")
+ (source (origin
+ (method git-fetch)
+ ;; Pypi does not have tests.
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02d9vlvp08q1yffgn7a0y19451py1jly67q5ld6m2d9xidbrvac1"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests (all?) rely on network access and only some can be disabled by
+ ;; setting the environment variable TRAVIS_TAG.
+ (list #:tests? #f))
+ (native-inputs (list python-mock))
+ (propagated-inputs (list python-cryptography python-pyjwt python-requests))
+ (synopsis "Microsoft Authentication Library (MSAL) for Python")
+ (description
+ "The Microsoft Authentication Library for Python enables applications to
+integrate with the Microsoft identity platform. It allows you to sign in
+users or apps with Microsoft identities (Azure AD, Microsoft Accounts and
+Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as
+Microsoft Graph or your own APIs registered with the Microsoft identity
+platform. It is built using industry standard OAuth2 and OpenID Connect
+protocols.")
+ (license license:expat)))
+
(define-public python-oauthlib
(package
(name "python-oauthlib")
--
2.36.1
next prev parent reply other threads:[~2022-07-05 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 17:22 [bug#56404] [PATCH 0/2] gnu: Add python-msal and oauth2ms John Kehayias via Guix-patches via
2022-07-05 17:24 ` John Kehayias via Guix-patches via [this message]
2022-07-05 17:25 ` [bug#56404] [PATCH 2/2] gnu: Add oauth2ms John Kehayias via Guix-patches via
2022-07-17 19:41 ` bug#56404: [PATCH 0/2] gnu: Add python-msal and oauth2ms Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Jotl7VlAaZD5lu0DdGaBF03oHYPAiTDBr07o8gbXLYbzu49uo2ezz_NStqOmtrZ8LVlOB5rcuscXVkv9EusS_o4MZkun6l-srnpBw3RWVCA=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=56404@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).