Merge pull request #170896 from r-ryantm/auto-update/python310Packages.azure-identity
python310Packages.azure-identity: 1.9.0 -> 1.10.0
This commit is contained in:
commit
b853f5f899
@ -1,58 +1,55 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, lib
|
|
||||||
|
|
||||||
# pythonPackages
|
|
||||||
, azure-common
|
, azure-common
|
||||||
, azure-core
|
, azure-core
|
||||||
, azure-nspkg
|
|
||||||
, cryptography
|
, cryptography
|
||||||
, mock
|
, mock
|
||||||
, msal
|
, msal
|
||||||
, msal-extensions
|
, msal-extensions
|
||||||
, msrest
|
, msrest
|
||||||
, msrestazure
|
, msrestazure
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-identity";
|
pname = "azure-identity";
|
||||||
version = "1.9.0";
|
version = "1.10.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-CFTRnaTFZEZBgU3E+VHELgFAC1eS8J37a/+nJti5Fg0=";
|
hash = "sha256-ZW5QNNnO8pfPmzU3btYgCFJzwYz6Us6kpiW/DV0tZAk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "msal-extensions~=0.3.0" "msal-extensions"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
azure-common
|
azure-common
|
||||||
azure-core
|
azure-core
|
||||||
azure-nspkg
|
|
||||||
cryptography
|
cryptography
|
||||||
mock
|
mock
|
||||||
msal
|
msal
|
||||||
msal-extensions
|
msal-extensions
|
||||||
msrest
|
msrest
|
||||||
msrestazure
|
msrestazure
|
||||||
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.identity" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.identity"
|
||||||
|
];
|
||||||
|
|
||||||
# Requires checkout from mono-repo and a mock account:
|
# Requires checkout from mono-repo and a mock account:
|
||||||
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
|
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Microsoft Azure Identity Library for Python";
|
description = "Microsoft Azure Identity Library for Python";
|
||||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [ kamadorueda ];
|
||||||
kamadorueda
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user