Skip to content

Commit

Permalink
python37Packages.azure-identity: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Jul 29, 2020
1 parent 22f82fc commit e87a7d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/azure-identity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ buildPythonPackage rec {
msrestazure
];

prePatch = ''
substituteInPlace setup.py \
--replace msal-extensions~=0.1.3 msal-extensions
'';

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;
Expand Down

0 comments on commit e87a7d6

Please sign in to comment.