1{ lib, buildPythonPackage, fetchPypi
2, requests, pyjwt, python-dateutil }:
3
4buildPythonPackage rec {
5 pname = "adal";
6 version = "1.2.7";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "d74f45b81317454d96e982fd1c50e6fb5c99ac2223728aea8764433a39f566f1";
11 };
12
13 propagatedBuildInputs = [ requests pyjwt python-dateutil ];
14
15 meta = with lib; {
16 description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
17 homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python";
18 license = licenses.mit;
19 maintainers = with maintainers; [ phreedom ];
20 };
21}