python3Packages.msal-extensions: add substituteInPlace for

portalocker version
This commit is contained in:
Artturin
2021-06-29 01:44:10 +03:00
committed by Jonathan Ringer
parent 10a8e8fe8b
commit 95df9607b5

View File

@@ -25,12 +25,18 @@ buildPythonPackage rec {
pathlib2
];
# upstream doesn't update this requirement probably because they use pip
postPatch = ''
substituteInPlace setup.py \
--replace "portalocker~=1.0" "portalocker"
'';
# No tests found
doCheck = false;
meta = with lib; {
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda