python311Packages.azure-identity: fix propogatedBuildImports and darwin

https://github.com/NixOS/nixpkgs/pull/268667 seems to have mistakenly
updated the modules using the information from
https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_1.15.0/sdk/keyvault/azure-mgmt-keyvault/setup.py
rather than
https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_1.15.0/sdk/identity/azure-identity/setup.py
this caused the darwin build to break https://hydra.nixos.org/build/242773001 but the linux build soldered on.

this change updates the propogatedBuildImports to use the correct
setup.py
This commit is contained in:
annalee 2023-12-04 11:41:10 +00:00
parent 0c6d8c7833
commit 26bb95dae9
No known key found for this signature in database

View File

@ -1,11 +1,11 @@
{ lib
, azure-common
, azure-mgmt-core
, buildPythonPackage
, fetchPypi
, isodate
, msal
, pythonOlder
, azure-core
, cryptography
, msal
, msal-extensions
}:
buildPythonPackage rec {
@ -21,10 +21,10 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
azure-core
cryptography
msal
msal-extensions
];
pythonImportsCheck = [
@ -38,7 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Microsoft Azure Identity Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_${version}/sdk/keyvault/azure-mgmt-keyvault/CHANGELOG.md";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_${version}/sdk/identity/azure-identity/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};