1{ stdenv, buildPythonPackage, fetchPypi
2, requests, pyjwt, dateutil }:
3
4buildPythonPackage rec {
5 pname = "adal";
6 version = "1.2.2";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "5a7f1e037c6290c6d7609cab33a9e5e988c2fbec5c51d1c4c649ee3faff37eaf";
11 };
12
13 propagatedBuildInputs = [ requests pyjwt dateutil ];
14
15 meta = with stdenv.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}