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