2019-12-28 09:05:17 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
2020-10-17 17:52:18 +01:00
|
|
|
, isPy27
|
2019-12-28 09:05:17 +00:00
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, msal
|
2020-10-17 17:52:18 +01:00
|
|
|
, pathlib2
|
2019-12-28 09:05:17 +00:00
|
|
|
, portalocker
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "msal-extensions";
|
2020-11-28 19:39:30 +00:00
|
|
|
version = "0.3.0";
|
2019-12-28 09:05:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-28 19:39:30 +00:00
|
|
|
sha256 = "0qbq5qn46053aclpwyzac5zs2xgqirn4hwrf1plrg0m8bnhxy8sm";
|
2019-12-28 09:05:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msal
|
|
|
|
portalocker
|
2020-10-17 17:52:18 +01:00
|
|
|
] ++ lib.optionals isPy27 [
|
|
|
|
pathlib2
|
2019-12-28 09:05:17 +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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|