2019-12-28 09:02:50 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy38
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, azure-common
|
|
|
|
, azure-core
|
|
|
|
, azure-nspkg
|
|
|
|
, cryptography
|
|
|
|
, mock
|
|
|
|
, msal
|
|
|
|
, msal-extensions
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-identity";
|
2020-11-28 16:45:47 +00:00
|
|
|
version = "1.5.0";
|
2019-12-28 09:02:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-11-28 16:45:47 +00:00
|
|
|
sha256 = "872adfa760b2efdd62595659b283deba92d47b7a67557eb9ff48f0b5d04ee396";
|
2019-12-28 09:02:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
azure-core
|
|
|
|
azure-nspkg
|
|
|
|
cryptography
|
|
|
|
mock
|
|
|
|
msal
|
|
|
|
msal-extensions
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
];
|
|
|
|
|
2020-07-29 21:58:24 +01:00
|
|
|
pythonImportsCheck = [ "azure.identity" ];
|
|
|
|
|
2019-12-28 09:02:50 +00:00
|
|
|
# Requires checkout from mono-repo and a mock account:
|
|
|
|
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure Identity Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
kamadorueda
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|