92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
55 lines
1 KiB
Nix
55 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, azure-common
|
|
, azure-core
|
|
, cryptography
|
|
, mock
|
|
, msal
|
|
, msal-extensions
|
|
, msrest
|
|
, msrestazure
|
|
, pythonOlder
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-identity";
|
|
version = "1.11.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
hash = "sha256-w/yACvWLhX5/rw4xA3bl7xD12tUJCRTMQv+m19I7Zyk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-common
|
|
azure-core
|
|
cryptography
|
|
mock
|
|
msal
|
|
msal-extensions
|
|
msrest
|
|
msrestazure
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"azure.identity"
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|