2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, requests, pyjwt, dateutil }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "adal";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.2.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "d74f45b81317454d96e982fd1c50e6fb5c99ac2223728aea8764433a39f566f1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests pyjwt dateutil ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|