1{ stdenv, buildPythonPackage, fetchPypi
2, requests, pyjwt, dateutil }:
3
4buildPythonPackage rec {
5 pname = "adal";
6 version = "1.2.4";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0";
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}