2021-12-06 06:06:32 +00:00
|
|
|
{ stdenv, python3, lib, src, version }:
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
let
|
2022-06-07 00:08:01 +00:00
|
|
|
buildAzureCliPackage = with py.pkgs; buildPythonPackage;
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
overrideAzureMgmtPackage = package: version: extension: sha256:
|
2020-08-17 04:45:17 +00:00
|
|
|
# check to make sure overriding is even necessary
|
2022-06-06 23:12:32 +00:00
|
|
|
package.overrideAttrs(oldAttrs: rec {
|
2019-10-23 10:07:42 +00:00
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = py.pkgs.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version sha256 extension;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-12-06 06:06:32 +00:00
|
|
|
py = python3.override {
|
2019-10-23 10:07:42 +00:00
|
|
|
packageOverrides = self: super: {
|
|
|
|
inherit buildAzureCliPackage;
|
|
|
|
|
|
|
|
# core and the actual application are highly coupled
|
|
|
|
azure-cli-core = buildAzureCliPackage {
|
|
|
|
pname = "azure-cli-core";
|
|
|
|
inherit version src;
|
|
|
|
|
2021-01-12 00:44:47 +00:00
|
|
|
sourceRoot = "${src.name}/src/azure-cli-core";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with self; [
|
|
|
|
adal
|
2021-12-06 06:06:32 +00:00
|
|
|
antlr4-python3-runtime
|
2019-10-23 10:07:42 +00:00
|
|
|
argcomplete
|
2019-12-01 22:28:29 +00:00
|
|
|
azure-common
|
2019-10-23 10:07:42 +00:00
|
|
|
azure-cli-telemetry
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-data-tables
|
2020-04-23 00:01:49 +00:00
|
|
|
azure-mgmt-core
|
2019-12-01 22:28:29 +00:00
|
|
|
azure-mgmt-resource
|
2019-10-23 10:07:42 +00:00
|
|
|
colorama
|
2021-03-11 20:00:18 +00:00
|
|
|
cryptography
|
2019-10-23 10:07:42 +00:00
|
|
|
humanfriendly
|
2019-12-01 22:28:29 +00:00
|
|
|
jmespath
|
2019-10-23 10:07:42 +00:00
|
|
|
knack
|
2020-05-18 23:39:41 +00:00
|
|
|
msal
|
|
|
|
msal-extensions
|
2019-10-23 10:07:42 +00:00
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
paramiko
|
2020-04-23 00:01:49 +00:00
|
|
|
pkginfo
|
2019-12-01 22:28:29 +00:00
|
|
|
psutil
|
2019-10-23 10:07:42 +00:00
|
|
|
pygments
|
|
|
|
pyjwt
|
2023-01-09 13:01:49 +00:00
|
|
|
pymysql
|
2019-10-23 10:07:42 +00:00
|
|
|
pyopenssl
|
2019-12-01 22:28:29 +00:00
|
|
|
pyperclip
|
2022-06-06 23:13:10 +00:00
|
|
|
pysocks
|
2019-10-23 10:07:42 +00:00
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
tabulate
|
2021-12-06 06:06:32 +00:00
|
|
|
];
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2020-11-28 17:24:03 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
2021-09-13 15:15:33 +00:00
|
|
|
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
2022-03-04 01:44:29 +00:00
|
|
|
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
|
|
|
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions"
|
2020-11-28 17:24:03 +00:00
|
|
|
'';
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with self; [ pytest ];
|
2019-12-01 22:28:29 +00:00
|
|
|
doCheck = stdenv.isLinux;
|
2021-09-12 01:43:54 +00:00
|
|
|
# ignore tests that does network call, or assume powershell
|
2019-10-23 10:07:42 +00:00
|
|
|
checkPhase = ''
|
2019-12-01 22:28:29 +00:00
|
|
|
rm azure/{,cli/}__init__.py
|
|
|
|
python -c 'import azure.common; print(azure.common)'
|
2021-11-20 23:16:12 +00:00
|
|
|
PYTHONPATH=$PWD:${src}/src/azure-cli-testsdk:$PYTHONPATH HOME=$TMPDIR pytest \
|
|
|
|
azure/cli/core/tests \
|
2019-12-01 22:28:29 +00:00
|
|
|
--ignore=azure/cli/core/tests/test_profile.py \
|
2020-09-28 18:13:29 +00:00
|
|
|
--ignore=azure/cli/core/tests/test_generic_update.py \
|
2021-09-13 15:09:52 +00:00
|
|
|
-k 'not metadata_url and not test_send_raw_requests and not test_format_styled_text_legacy_powershell'
|
2019-10-23 10:07:42 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.cli.telemetry"
|
|
|
|
"azure.cli.core"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
azure-cli-telemetry = buildAzureCliPackage {
|
|
|
|
pname = "azure-cli-telemetry";
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "1.0.8"; # might be wrong, but doesn't really matter
|
2019-10-23 10:07:42 +00:00
|
|
|
inherit src;
|
|
|
|
|
2021-01-12 00:44:47 +00:00
|
|
|
sourceRoot = "${src.name}/src/azure-cli-telemetry";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with super; [
|
|
|
|
applicationinsights
|
2023-01-09 13:01:49 +00:00
|
|
|
knack
|
2019-10-23 10:07:42 +00:00
|
|
|
portalocker
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ py.pkgs.pytest ];
|
2019-10-23 10:07:42 +00:00
|
|
|
# ignore flaky test
|
|
|
|
checkPhase = ''
|
|
|
|
cd azure
|
|
|
|
HOME=$TMPDIR pytest -k 'not test_create_telemetry_note_file_from_scratch'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
antlr4-python3-runtime = super.antlr4-python3-runtime.override(_: {
|
|
|
|
antlr4 = super.pkgs.antlr4_9;
|
|
|
|
});
|
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-batch = overrideAzureMgmtPackage super.azure-batch "13.0.0" "zip"
|
|
|
|
"sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
|
|
|
|
|
|
|
|
azure-data-tables = overrideAzureMgmtPackage super.azure-data-tables "12.4.0" "zip"
|
|
|
|
"sha256-3V/I3pHi+JCO+kxkyn9jz4OzBoqbpCYpjeO1QTnpZlw=";
|
2020-04-23 00:01:49 +00:00
|
|
|
|
2022-03-04 01:44:29 +00:00
|
|
|
azure-mgmt-apimanagement = overrideAzureMgmtPackage super.azure-mgmt-apimanagement "3.0.0" "zip"
|
|
|
|
"9262f54ed387eb083d8dae66d32a8df35647319b902bd498cdc376f50a12d154";
|
2020-04-06 18:53:52 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-batch = overrideAzureMgmtPackage super.azure-mgmt-batch "17.0.0" "zip"
|
|
|
|
"sha256-hkM4WVLuwxj4qgXsY8Ya7zu7/v37gKdP0Xbf2EqrsWo=";
|
2021-09-12 01:43:54 +00:00
|
|
|
|
|
|
|
azure-mgmt-batchai = overrideAzureMgmtPackage super.azure-mgmt-batchai "7.0.0b1" "zip"
|
|
|
|
"sha256-mT6vvjWbq0RWQidugR229E8JeVEiobPD3XA/nDM3I6Y=";
|
2020-05-18 23:39:41 +00:00
|
|
|
|
2021-07-08 20:34:22 +00:00
|
|
|
azure-mgmt-billing = overrideAzureMgmtPackage super.azure-mgmt-billing "6.0.0" "zip"
|
|
|
|
"d4f5c5a4188a456fe1eb32b6c45f55ca2069c74be41eb76921840b39f2f5c07f";
|
2020-11-02 17:45:29 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-botservice = overrideAzureMgmtPackage super.azure-mgmt-botservice "2.0.0b3" "zip"
|
|
|
|
"sha256-XZGQOeMw8usyQ1tl8j57fZ3uqLshomHY9jO/rbpQOvM=";
|
2021-01-28 03:54:52 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-extendedlocation = overrideAzureMgmtPackage super.azure-mgmt-extendedlocation "1.0.0b2" "zip"
|
|
|
|
"sha256-mjfH35T81JQ97jVgElWmZ8P5MwXVxZQv/QJKNLS3T8A=";
|
|
|
|
|
|
|
|
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b2" "zip"
|
|
|
|
"sha256-e+I5MdbbX7WhxHCj1Ery3z2WUrJtpWGD1bhLbqReb58=";
|
2020-02-10 01:55:18 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b5" "zip"
|
|
|
|
"sha256-YaokPCleAiwM893QFU+tbhL+8UngvGGshdeEBDCVTu4=";
|
2020-04-23 00:01:49 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-recoveryservices = overrideAzureMgmtPackage super.azure-mgmt-recoveryservices "2.1.0" "zip"
|
|
|
|
"sha256-2DeOemVpkjeI/hUdG04IuHU2h3cmk3oG4kr1wIDvdbM=";
|
2020-03-15 21:50:46 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "5.1.0b1" "zip"
|
|
|
|
"sha256-4djPfDzj9ql5WFn5fafLZWRKbofvb1Y7j05S77ly75s=";
|
2019-12-10 21:21:59 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "21.1.0b1" "zip"
|
|
|
|
"sha256-oiC5k+Mg9KJn940jMxG4AB9Pom+t/DWRA5KRv8HO0HI=";
|
2020-02-20 23:08:41 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "2.2.0" "zip"
|
|
|
|
"sha256-R2COS22pCtFp3oV98LLn/X2LkPOVUCasEONhFIhEdBQ=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "13.3.0" "zip"
|
|
|
|
"sha256-v1pTNPH0ujRm4VMt95Uw6d07lF8bgM3XIa3NJIbNLFI=";
|
2020-03-24 23:17:09 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "29.0.0" "zip"
|
|
|
|
"sha256-wkRmH/3MMxeTZr7KQMZQbjPHs2GSxAjJFZlSp75pUPI=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
azure-mgmt-consumption = overrideAzureMgmtPackage super.azure-mgmt-consumption "2.0.0" "zip"
|
|
|
|
"12ai4qps73ivawh0yzvgb148ksx02r30pqlvfihx497j62gsi1cs";
|
|
|
|
|
2021-11-20 23:16:12 +00:00
|
|
|
azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "9.1.0" "zip"
|
2022-06-06 23:13:10 +00:00
|
|
|
"sha256-IhZLDFkTize8SLptR2v2NRUrxCjctCC1IaFLjCXHl60=";
|
2020-07-06 17:43:30 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "21.1.0" "zip"
|
|
|
|
"sha256-5EOythXO7spLzzlqDWrwcdkkJAMH9W8OBv96rYaWxAY=";
|
2020-05-18 23:39:41 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "8.0.0" "zip"
|
|
|
|
"sha256-/6ySVfCjr1YiiZIZJElrd1EfirV+TJvE/FvKs7UhoKo=";
|
2021-05-06 06:46:40 +00:00
|
|
|
|
2021-09-12 01:43:54 +00:00
|
|
|
azure-mgmt-databoxedge = overrideAzureMgmtPackage super.azure-mgmt-databoxedge "1.0.0" "zip"
|
|
|
|
"04090062bc1e8f00c2f45315a3bceb0fb3b3479ec1474d71b88342e13499b087";
|
2019-11-29 21:40:50 +00:00
|
|
|
|
2020-02-10 02:02:58 +00:00
|
|
|
azure-mgmt-deploymentmanager = overrideAzureMgmtPackage super.azure-mgmt-deploymentmanager "0.2.0" "zip"
|
|
|
|
"0c6pyr36n9snx879vas5r6l25db6nlp2z96xn759mz4kg4i45qs6";
|
2020-02-02 17:33:10 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-eventgrid = overrideAzureMgmtPackage super.azure-mgmt-eventgrid "10.2.0b2" "zip"
|
|
|
|
"sha256-QcHY1wCwQyVOEdUi06/wEa4dqJH5Ccd33gJ1Sju0qZA=";
|
2020-07-14 19:46:20 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-imagebuilder = overrideAzureMgmtPackage super.azure-mgmt-imagebuilder "1.1.0" "zip"
|
|
|
|
"sha256-2EWfTsl5y3Sw4P8d5X7TKxYmO4PagUTNv/SFKdjY2Ss=";
|
2019-12-03 02:15:23 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-iothub = overrideAzureMgmtPackage super.azure-mgmt-iothub "2.3.0" "zip"
|
|
|
|
"sha256-ml+koj52l5o0toAcnsGtsw0tGnO5F/LKq56ovzdmx/A=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2022-03-04 01:44:29 +00:00
|
|
|
azure-mgmt-iothubprovisioningservices = overrideAzureMgmtPackage super.azure-mgmt-iothubprovisioningservices "1.1.0" "zip"
|
|
|
|
"sha256-04OoJuff93L62G6IozpmHpEaUbHHHD6nKlkMHVoJvJ4=";
|
2021-08-28 05:53:59 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-iotcentral = overrideAzureMgmtPackage super.azure-mgmt-iotcentral "10.0.0b1" "zip"
|
|
|
|
"sha256-1CiZuTXYhIb74eGQZUJHHzovYNnnVd3Ydu1UCy2Bu00=";
|
2020-01-09 17:44:39 +00:00
|
|
|
|
2019-10-23 10:07:42 +00:00
|
|
|
azure-mgmt-kusto = overrideAzureMgmtPackage super.azure-mgmt-kusto "0.3.0" "zip"
|
|
|
|
"1pmcdgimd66h964a3d5m2j2fbydshcwhrk87wblhwhfl3xwbgf4y";
|
|
|
|
|
2020-06-03 00:36:04 +00:00
|
|
|
azure-mgmt-devtestlabs = overrideAzureMgmtPackage super.azure-mgmt-devtestlabs "4.0.0" "zip"
|
|
|
|
"1397ksrd61jv7400mgn8sqngp6ahir55fyq9n5k69wk88169qm2r";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-netapp = overrideAzureMgmtPackage super.azure-mgmt-netapp "9.0.1" "zip"
|
|
|
|
"sha256-PYRMOWaJUXrRgqW3+pLBY+L6HvU1WlPvaatFe4O7RY8=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-05-06 06:46:40 +00:00
|
|
|
azure-mgmt-dns = overrideAzureMgmtPackage super.azure-mgmt-dns "8.0.0" "zip"
|
|
|
|
"407c2dacb33513ffbe9ca4be5addb5e9d4bae0cb7efa613c3f7d531ef7bf8de8";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-loganalytics = overrideAzureMgmtPackage super.azure-mgmt-loganalytics "13.0.0b4" "zip"
|
|
|
|
"sha256-Jm1t7v5vyFjNNM/evVaEI9sXJKNwJk6XAXuJSRSnKHk=";
|
2020-04-23 00:01:49 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-network = overrideAzureMgmtPackage super.azure-mgmt-network "21.0.1" "zip"
|
|
|
|
"sha256-7PduPg0JK4f/3q/b5pq58TjqVk+Iu+vxa+aJKDnScy8=";
|
2021-05-06 06:46:40 +00:00
|
|
|
|
2021-09-12 01:43:54 +00:00
|
|
|
azure-mgmt-maps = overrideAzureMgmtPackage super.azure-mgmt-maps "2.0.0" "zip"
|
|
|
|
"384e17f76a68b700a4f988478945c3a9721711c0400725afdfcb63cf84e85f0e";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-05-06 06:46:40 +00:00
|
|
|
azure-mgmt-managedservices = overrideAzureMgmtPackage super.azure-mgmt-managedservices "1.0.0" "zip"
|
|
|
|
"sha256-/tg5n8Z3Oq2jfB0ElqRvWUENd8lJTQyllnxTHDN2rRk=";
|
|
|
|
|
2022-03-04 01:44:29 +00:00
|
|
|
azure-mgmt-managementgroups = overrideAzureMgmtPackage super.azure-mgmt-managementgroups "1.0.0" "zip"
|
|
|
|
"bab9bd532a1c34557f5b0ab9950e431e3f00bb96e8a3ce66df0f6ce2ae19cd73";
|
2021-06-09 21:34:48 +00:00
|
|
|
|
2021-05-06 06:46:40 +00:00
|
|
|
azure-mgmt-marketplaceordering = overrideAzureMgmtPackage super.azure-mgmt-marketplaceordering "1.1.0" "zip"
|
|
|
|
"68b381f52a4df4435dacad5a97e1c59ac4c981f667dcca8f9d04453417d60ad8";
|
2021-01-12 00:44:47 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-media = overrideAzureMgmtPackage super.azure-mgmt-media "9.0.0" "zip"
|
|
|
|
"sha256-TI7l8sSQ2QUgPqiE3Cu/F67Wna+KHbQS3fuIjOb95ZM=";
|
2019-12-21 06:04:51 +00:00
|
|
|
|
2022-05-03 02:04:29 +00:00
|
|
|
azure-mgmt-msi = super.azure-mgmt-msi.overridePythonAttrs (old: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "6.1.0";
|
2022-05-03 02:04:29 +00:00
|
|
|
src = old.src.override {
|
|
|
|
inherit version;
|
2023-01-09 13:01:49 +00:00
|
|
|
sha256 = "sha256-lS8da3Al1z1pMLDBf6ZtWc1UFUVgkN1qpKTxt4VXdlQ=";
|
2022-05-03 02:04:29 +00:00
|
|
|
};
|
|
|
|
});
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-06-09 21:34:48 +00:00
|
|
|
azure-mgmt-privatedns = overrideAzureMgmtPackage super.azure-mgmt-privatedns "1.0.0" "zip"
|
|
|
|
"b60f16e43f7b291582c5f57bae1b083096d8303e9d9958e2c29227a55cc27c45";
|
2021-05-06 06:46:40 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-web = overrideAzureMgmtPackage super.azure-mgmt-web "7.0.0" "zip"
|
|
|
|
"sha256-WvyNgfiliEt6qawqy8Le8eifhxusMkoZbf6YcyY1SBA=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-redhatopenshift = overrideAzureMgmtPackage super.azure-mgmt-redhatopenshift "1.1.0" "zip"
|
|
|
|
"sha256-Tq8h3fvajxIG2QjtCyHCQDE2deBDioxLLaQQek/O24U=";
|
2020-04-23 00:01:49 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-redis = overrideAzureMgmtPackage super.azure-mgmt-redis "14.1.0" "zip"
|
|
|
|
"sha256-LO92Wc2+VvsEKiOjVSHXw2o3D69NQlL58m+YqWl6+ig=";
|
2019-12-21 06:04:51 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-reservations = overrideAzureMgmtPackage super.azure-mgmt-reservations "2.0.0" "zip"
|
|
|
|
"sha256-5vXdXiRubnzPk4uTFeNHR6rwiHSGbeUREX9eW1pqC3E=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-03-11 20:00:18 +00:00
|
|
|
azure-mgmt-search = overrideAzureMgmtPackage super.azure-mgmt-search "8.0.0" "zip"
|
|
|
|
"a96d50c88507233a293e757202deead980c67808f432b8e897c4df1ca088da7e";
|
2020-11-02 17:45:29 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "3.0.0" "zip"
|
|
|
|
"sha256-vLp874V/awKi2Yr+sH+YcbFij6M9iGGrE4fnMufbP4Q=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "1.1.0" "zip"
|
|
|
|
"sha256-lUNIDyP5W+8aIX7manfMqaO2IJJm/+2O+Buv+Bh4EZE=";
|
2020-06-03 00:36:04 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-sql = overrideAzureMgmtPackage super.azure-mgmt-sql "4.0.0b6" "zip"
|
|
|
|
"sha256-1/0VGMW9yZsilJ0yNjhFzVO7WbJlB4yJmDL/RxpQLKc=";
|
2020-01-09 17:50:09 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-sqlvirtualmachine = overrideAzureMgmtPackage super.azure-mgmt-sqlvirtualmachine "1.0.0b4" "zip"
|
|
|
|
"sha256-IB/ihVFm8WrJ2ZZfALp167Sq4u0cvIq1hllNriJxaz0=";
|
2019-12-03 02:31:31 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-synapse = overrideAzureMgmtPackage super.azure-mgmt-synapse "2.1.0b5" "zip"
|
|
|
|
"sha256-5E6Yf1GgNyNVjd+SeFDbhDxnOA6fOAG6oojxtCP4m+k=";
|
2020-09-02 20:56:54 +00:00
|
|
|
|
2021-11-20 23:16:12 +00:00
|
|
|
azure-mgmt-datamigration = overrideAzureMgmtPackage super.azure-mgmt-datamigration "10.0.0" "zip"
|
|
|
|
"5cee70f97fe3a093c3cb70c2a190c2df936b772e94a09ef7e3deb1ed177c9f32";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
|
|
|
azure-mgmt-relay = overrideAzureMgmtPackage super.azure-mgmt-relay "0.1.0" "zip"
|
|
|
|
"1jss6qhvif8l5s0lblqw3qzijjf0h88agciiydaa7f4q577qgyfr";
|
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-eventhub = overrideAzureMgmtPackage super.azure-mgmt-eventhub "10.1.0" "zip"
|
|
|
|
"sha256-MZqhSBkwypvEefhoEWEPsBUFidWYD7qAX6edcBDDSSA=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-keyvault = overrideAzureMgmtPackage super.azure-mgmt-keyvault "10.1.0" "zip"
|
|
|
|
"sha256-DpO+6FvsNwjjcz2ImhHpColHVNpPUMgCtEMrfUzfAaA=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
azure-mgmt-cdn = overrideAzureMgmtPackage super.azure-mgmt-cdn "12.0.0" "zip"
|
|
|
|
"sha256-t8PuIYkjS0r1Gs4pJJJ8X9cz8950imQtbVBABnyMnd0=";
|
2019-12-21 06:04:51 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-containerregistry = overrideAzureMgmtPackage super.azure-mgmt-containerregistry "10.0.0" "zip"
|
|
|
|
"sha256-HjejK28Em5AeoQ20o4fucnXTlAwADF/SEpVfHn9anZk=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-monitor = overrideAzureMgmtPackage super.azure-mgmt-monitor "5.0.0" "zip"
|
|
|
|
"sha256-eL9KJowxTF7hZJQQQCNJZ7l+rKPFM8wP5vEigt3ZFGE=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-07-08 20:34:22 +00:00
|
|
|
azure-mgmt-advisor = overrideAzureMgmtPackage super.azure-mgmt-advisor "9.0.0" "zip"
|
|
|
|
"fc408b37315fe84781b519124f8cb1b8ac10b2f4241e439d0d3e25fd6ca18d7b";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-07-08 20:34:22 +00:00
|
|
|
azure-mgmt-applicationinsights = overrideAzureMgmtPackage super.azure-mgmt-applicationinsights "1.0.0" "zip"
|
|
|
|
"c287a2c7def4de19f92c0c31ba02867fac6f5b8df71b5dbdab19288bb455fc5b";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2020-09-28 18:13:29 +00:00
|
|
|
azure-mgmt-authorization = overrideAzureMgmtPackage super.azure-mgmt-authorization "0.61.0" "zip"
|
|
|
|
"0xfvx2dvfj3fbz4ngn860ipi4v6gxqajyjc8x92r8knhmniyxk7m";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-storage = overrideAzureMgmtPackage super.azure-mgmt-storage "21.0.0" "zip"
|
|
|
|
"sha256-brE+7s+JGVsrX0e+Bnnj8niI79e9ITLux+vLznXLE3c=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-servicebus = overrideAzureMgmtPackage super.azure-mgmt-servicebus "8.1.0" "zip"
|
|
|
|
"sha256-R8Narn7eC7j59tDjsgbk9lF0PcOgOwSnzoMp3Qu0rmg=";
|
2020-11-02 17:45:29 +00:00
|
|
|
|
2021-09-12 01:43:54 +00:00
|
|
|
azure-mgmt-servicefabric = overrideAzureMgmtPackage super.azure-mgmt-servicefabric "1.0.0" "zip"
|
|
|
|
"de35e117912832c1a9e93109a8d24cab94f55703a9087b2eb1c5b0655b3b1913";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-mgmt-servicelinker = overrideAzureMgmtPackage super.azure-mgmt-servicelinker "1.2.0b1" "zip"
|
|
|
|
"sha256-RK1Q51Q0wAG55oKrFmv65/2AUKl+gRdp27t/EcuMONk=";
|
2022-04-22 17:16:53 +00:00
|
|
|
|
2021-11-20 23:16:12 +00:00
|
|
|
azure-mgmt-hdinsight = overrideAzureMgmtPackage super.azure-mgmt-hdinsight "9.0.0" "zip"
|
|
|
|
"41ebdc69c0d1f81d25dd30438c14fff4331f66639f55805b918b9649eaffe78a";
|
2020-09-02 20:56:54 +00:00
|
|
|
|
2023-01-09 13:01:49 +00:00
|
|
|
azure-multiapi-storage = overrideAzureMgmtPackage super.azure-multiapi-storage "1.0.0" "tar.gz"
|
|
|
|
"sha256-x5v3e3/poSm+JMt0SWI1lcM6YAUcP+o2Sn8TluXOyIg=";
|
2019-10-23 10:07:42 +00:00
|
|
|
|
2021-11-30 16:23:55 +00:00
|
|
|
azure-appconfiguration = super.azure-appconfiguration.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "1.1.1";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "sha256-uDzSy2PZMiXehOJ6u/wFkhL43id2b0xY3Tq7g53/C+Q=";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2019-10-23 10:07:42 +00:00
|
|
|
azure-graphrbac = super.azure-graphrbac.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "0.60.0";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "1zna5vb887clvpyfp5439vhlz3j4z95blw9r7y86n6cfpzc65fyh";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
azure-storage-blob = super.azure-storage-blob.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "1.5.0";
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "0b15dzy75fml994gdfmaw5qcyij15gvh968mk3hg94d1wxwai1zi";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
azure-storage-common = super.azure-storage-common.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "1.4.2";
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "00g41b5q4ijlv02zvzjgfwrwy71cgr3lc3if4nayqmyl6xsprj2f";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2020-11-02 17:45:29 +00:00
|
|
|
azure-synapse-artifacts = super.azure-synapse-artifacts.overrideAttrs(oldAttrs: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "0.14.0";
|
2020-11-02 17:45:29 +00:00
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2023-01-09 13:01:49 +00:00
|
|
|
hash = "sha256-Q1gGq7EZ/JvYjD7y0mp3kEy15QKZI84UQTdlIBoQLMs=";
|
2020-11-02 17:45:29 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
2023-01-09 13:01:49 +00:00
|
|
|
propagatedBuildInputs = with super; oldAttrs.propagatedBuildInputs ++ [
|
|
|
|
azure-mgmt-core
|
|
|
|
];
|
2020-11-02 17:45:29 +00:00
|
|
|
});
|
|
|
|
|
2020-09-02 20:56:54 +00:00
|
|
|
azure-synapse-accesscontrol = super.azure-synapse-accesscontrol.overrideAttrs(oldAttrs: rec {
|
2021-05-06 06:46:40 +00:00
|
|
|
version = "0.5.0";
|
2020-09-02 20:56:54 +00:00
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2021-05-06 06:46:40 +00:00
|
|
|
sha256 = "sha256-g14ySiByqPgkJGRH8EnIRJO9Q6H2usS5FOeMCQiUuwQ=";
|
2020-09-02 20:56:54 +00:00
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-09-12 01:43:54 +00:00
|
|
|
azure-synapse-managedprivateendpoints = super.azure-synapse-managedprivateendpoints.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "0.3.0";
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "sha256-fN1IuZ9fjxgRZv6qh9gg6v6KYpnKlXfnoLqfZCDXoRY=";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2020-09-02 20:56:54 +00:00
|
|
|
azure-synapse-spark = super.azure-synapse-spark.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "0.2.0";
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "1qijqp6llshqas422lnqvpv45iv99n7f13v86znql40y3jp5n3ir";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2019-12-21 06:04:51 +00:00
|
|
|
azure-keyvault = super.azure-keyvault.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "1.1.0";
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
extension = "zip";
|
|
|
|
sha256 = "0jfxm8lx8dzs3v2b04ljizk8gfckbm5l2v86rm7k0npbfvryba1p";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with self; [
|
|
|
|
azure-common azure-nspkg msrest msrestazure cryptography
|
|
|
|
];
|
2020-03-17 21:30:12 +00:00
|
|
|
pythonNamespaces = [ "azure" ];
|
2019-12-21 06:04:51 +00:00
|
|
|
pythonImportsCheck = [ ];
|
|
|
|
});
|
|
|
|
|
2020-09-28 18:13:29 +00:00
|
|
|
azure-keyvault-administration = super.azure-keyvault-administration.overridePythonAttrs(oldAttrs: rec {
|
2021-03-11 20:00:18 +00:00
|
|
|
version = "4.0.0b3";
|
2020-09-28 18:13:29 +00:00
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
extension = "zip";
|
2021-03-11 20:00:18 +00:00
|
|
|
sha256 = "sha256-d3tJWObM3plRurzfqWmHkn5CqVL9ekQfn9AeDc/KxLQ=";
|
2020-09-28 18:13:29 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-11-20 23:16:12 +00:00
|
|
|
azure-keyvault-keys = super.azure-keyvault-keys.overridePythonAttrs(oldAttrs: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "4.8.0b2";
|
2021-11-20 23:16:12 +00:00
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
extension = "zip";
|
2023-01-09 13:01:49 +00:00
|
|
|
hash = "sha256-VUwQJAwpZIQ8fzBUjUX0ui2yaVkDK7p0fwmnz373XbY=";
|
2021-11-20 23:16:12 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2019-10-23 10:07:42 +00:00
|
|
|
# part of azure.mgmt.datalake namespace
|
|
|
|
azure-mgmt-datalake-analytics = super.azure-mgmt-datalake-analytics.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "0.2.1";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "192icfx82gcl3igr18w062744376r2ivh63c8nd7v17mjk860yac";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
rm azure_bdist_wheel.py
|
|
|
|
substituteInPlace setup.cfg \
|
|
|
|
--replace "azure-namespace-package = azure-mgmt-datalake-nspkg" ""
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-01-12 00:44:47 +00:00
|
|
|
azure-mgmt-datalake-store = super.azure-mgmt-datalake-store.overrideAttrs(oldAttrs: rec {
|
|
|
|
version = "0.5.0";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "sha256-k3bTVJVmHRn4rMVgT2ewvFlJOxg1u8SA+aGVL5ABekw=";
|
|
|
|
extension = "zip";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
rm azure_bdist_wheel.py
|
|
|
|
substituteInPlace setup.cfg \
|
|
|
|
--replace "azure-namespace-package = azure-mgmt-datalake-nspkg" ""
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-05-06 06:46:40 +00:00
|
|
|
adal = super.adal.overridePythonAttrs(oldAttrs: rec {
|
|
|
|
version = "1.2.7";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "sha256-109FuBMXRU2W6YL9HFDm+1yZrCIjcorqh2RDOjn1ZvE=";
|
|
|
|
};
|
2022-01-17 06:51:36 +00:00
|
|
|
|
|
|
|
# sdist doesn't provide tests
|
2022-01-20 19:16:49 +00:00
|
|
|
doCheck = false;
|
2021-05-06 06:46:40 +00:00
|
|
|
});
|
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
msal = super.msal.overridePythonAttrs(oldAttrs: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "1.20.0";
|
2022-06-06 23:13:10 +00:00
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2023-01-09 13:01:49 +00:00
|
|
|
hash = "sha256-eDRM1MkdYTSlk7Xj5FVB5mbje3R/+KYxbDZo3R5qtrI=";
|
2022-06-06 23:13:10 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-03-11 20:00:18 +00:00
|
|
|
semver = super.semver.overridePythonAttrs(oldAttrs: rec {
|
|
|
|
version = "2.13.0";
|
2020-05-18 23:39:41 +00:00
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2021-03-11 20:00:18 +00:00
|
|
|
sha256 = "sha256-+g/ici7hw/V+rEeIIMOlri9iSvgmTL35AAyYD/f3Xj8=";
|
2020-05-18 23:39:41 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2022-06-06 23:13:10 +00:00
|
|
|
jsondiff = super.jsondiff.overridePythonAttrs(oldAttrs: rec {
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = oldAttrs.src.override {
|
|
|
|
inherit version;
|
|
|
|
sha256 = "sha256-J5WETvB17IorjThcTVn16kiwjnGA/OPLJ4e+DbALH7Q=";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-03-11 20:00:18 +00:00
|
|
|
knack = super.knack.overridePythonAttrs(oldAttrs: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "0.10.1";
|
2020-06-08 20:29:58 +00:00
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2023-01-09 13:01:49 +00:00
|
|
|
hash = "sha256-xXKBKCl+bSaXkQhc+Wwv/fzvWM+DxjSly5LrA7KSmDg=";
|
2020-06-08 20:29:58 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2022-01-17 06:51:36 +00:00
|
|
|
argcomplete = super.argcomplete.overridePythonAttrs(oldAttrs: rec {
|
2023-01-09 13:01:49 +00:00
|
|
|
version = "2.0.0";
|
2022-01-17 06:51:36 +00:00
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
2023-01-09 13:01:49 +00:00
|
|
|
hash = "sha256-Y3KteMidZiA1EBQYriU2aERbORdVz+lOpS8bnSJCWyA=";
|
2022-01-17 06:51:36 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2020-11-02 16:11:17 +00:00
|
|
|
sshtunnel = super.sshtunnel.overridePythonAttrs(oldAttrs: rec {
|
|
|
|
name = "sshtunnel-${version}";
|
|
|
|
version = "0.1.5";
|
|
|
|
|
|
|
|
src = super.fetchPypi {
|
|
|
|
inherit (oldAttrs) pname;
|
|
|
|
inherit version;
|
|
|
|
sha256 = "0jcjppp6mdfsqrbfc3ddfxg1ybgvkjv7ri7azwv3j778m36zs4y8";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2021-06-15 11:12:45 +00:00
|
|
|
websocket-client = super.websocket-client.overridePythonAttrs(oldAttrs: rec {
|
2022-06-06 23:13:10 +00:00
|
|
|
version = "1.3.1";
|
2020-06-08 20:29:58 +00:00
|
|
|
|
2021-06-15 11:12:45 +00:00
|
|
|
src = oldAttrs.src.override {
|
2020-06-08 20:29:58 +00:00
|
|
|
inherit version;
|
2022-12-09 13:57:23 +00:00
|
|
|
hash = "sha256-YninUGU5VBgoP4h958O+r7OqaNraXKy+SyFOjSbaSZs=";
|
2020-06-08 20:29:58 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
2019-10-23 10:07:42 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
py
|