2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
2020-10-19 00:13:06 +00:00
|
|
|
, isPy27
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, msal
|
2020-10-19 00:13:06 +00:00
|
|
|
, pathlib2
|
2020-04-24 23:36:52 +00:00
|
|
|
, portalocker
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "msal-extensions";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "0.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "0qbq5qn46053aclpwyzac5zs2xgqirn4hwrf1plrg0m8bnhxy8sm";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msal
|
|
|
|
portalocker
|
2020-10-19 00:13:06 +00:00
|
|
|
] ++ lib.optionals isPy27 [
|
|
|
|
pathlib2
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# No tests found
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
|
|
|
|
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
kamadorueda
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|