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