Unverified Commit 26bb95da authored by annalee's avatar annalee
Browse files

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
parent 0c6d8c78
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
{ 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 ];
  };