1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

python37Packages.azure-identity: fix build

This commit is contained in:
Jonathan Ringer 2020-07-29 13:58:24 -07:00 committed by Jon
parent 22f82fc8ca
commit e87a7d68c2

View file

@ -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;