[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: Add python-msal.
From: |
guix-commits |
Subject: |
05/13: gnu: Add python-msal. |
Date: |
Sun, 17 Jul 2022 18:26:45 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 543f27caef548d1b0ee1e3c9859bcfa4f0976e78
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Tue Jul 5 13:12:43 2022 -0400
gnu: Add python-msal.
* gnu/packages/python-web.scm (python-msal): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 6bb73fa6d2..525c3cc0b0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2955,6 +2955,38 @@ with python-requests.")
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")
- branch master updated (17984b0794 -> 236746900f), guix-commits, 2022/07/17
- 03/13: gnu: xl2tpd: Update to 1.3.17., guix-commits, 2022/07/17
- 04/13: doc: Fix the example of "Run `make` automatically", guix-commits, 2022/07/17
- 06/13: gnu: Add oauth2ms., guix-commits, 2022/07/17
- 05/13: gnu: Add python-msal.,
guix-commits <=
- 07/13: gnu: Add gbonds., guix-commits, 2022/07/17
- 09/13: gnu: grass: Update to 7.8.7., guix-commits, 2022/07/17
- 01/13: doc: Tweak., guix-commits, 2022/07/17
- 02/13: gnu: Add pw., guix-commits, 2022/07/17
- 08/13: gnu: libgeotiff: Update to 1.7.1., guix-commits, 2022/07/17
- 10/13: gnu: geos: Update to 3.10.2., guix-commits, 2022/07/17
- 11/13: gnu: pcb2gcode: Update to 2.4.0., guix-commits, 2022/07/17
- 13/13: gnu: qgis: Disable failing tests., guix-commits, 2022/07/17
- 12/13: gnu: saga: Update to 8.2.1., guix-commits, 2022/07/17