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