at 18.03-beta 720 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, requests, pyjwt, dateutil }: 3 4buildPythonPackage rec { 5 pname = "adal"; 6 version = "0.5.0"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "120821f72ca9d59a7c7197fc14d0e27448ff8d331fae230f92d713b9b5c721f7"; 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}