2017-07-19 10:04:59 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests, pyjwt }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "adal";
|
2017-08-24 18:34:20 +01:00
|
|
|
version = "0.4.6";
|
2017-07-19 10:04:59 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-24 18:34:20 +01:00
|
|
|
sha256 = "7c5bbf4d8a17d535e6e857b28a41cedddc2767fc57424c15d484fa779bb97325";
|
2017-07-19 10:04:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests pyjwt ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to make it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";
|
|
|
|
homepage = https://github.com/AzureAD/azure-activedirectory-library-for-python;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ phreedom ];
|
|
|
|
};
|
|
|
|
}
|