mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
azure-cli: fix build
This commit is contained in:
parent
154951f17c
commit
f31855a339
@ -27,7 +27,9 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
||||
substituteInPlace setup.py \
|
||||
--replace "chardet~=3.0.4" "chardet" \
|
||||
--replace "javaproperties~=0.5.1" "javaproperties" \
|
||||
--replace "scp~=0.13.2" "scp"
|
||||
--replace "scp~=0.13.2" "scp" \
|
||||
--replace "packaging>=20.9,<22.0" "packaging" \
|
||||
--replace "fabric~=2.4" "fabric"
|
||||
|
||||
# remove namespace hacks
|
||||
# remove urllib3 because it was added as 'urllib3[secure]', which doesn't get handled well
|
||||
|
@ -62,7 +62,8 @@ let
|
||||
substituteInPlace setup.py \
|
||||
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
||||
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
||||
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions"
|
||||
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions" \
|
||||
--replace "packaging>=20.9,<22.0" "packaging"
|
||||
'';
|
||||
nativeCheckInputs = with self; [ pytest ];
|
||||
doCheck = stdenv.isLinux;
|
||||
|
Loading…
Reference in New Issue
Block a user