nixpkgs/pkgs/tools/admin/azure-cli/python-packages.nix

507 lines
20 KiB
Nix
Raw Normal View History

2019-12-01 22:28:29 +00:00
{ stdenv, python, lib, src, version }:
2019-10-23 10:07:42 +00:00
let
buildAzureCliPackage = with py.pkgs; attrs: buildPythonPackage (attrs // {
# Remove overly restrictive version contraints and obsolete namespace setup
prePatch = (attrs.prePatch or "") + ''
rm -f azure_bdist_wheel.py tox.ini
substituteInPlace setup.py \
--replace "cryptography>=3.2,<3.4" "cryptography"
2019-10-23 10:07:42 +00:00
sed -i "/azure-namespace-package/c\ " setup.cfg
'';
# Prevent these __init__'s from violating PEP420, only needed for python2
2020-03-17 21:30:12 +00:00
pythonNamespaces = [ "azure.cli" ];
2019-10-23 10:07:42 +00:00
checkInputs = [ mock pytest ] ++ (attrs.checkInputs or []);
checkPhase = attrs.checkPhase or ''
cd azure
HOME=$TMPDIR pytest
'';
});
overrideAzureMgmtPackage = package: version: extension: sha256:
2020-08-17 04:45:17 +00:00
# check to make sure overriding is even necessary
if version == package.version then
package
else 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;
};
preBuild = ''
rm -f azure_bdist_wheel.py
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
# force PEP420
2020-03-17 21:30:12 +00:00
pythonNamespaces = [ "azure.mgmt" ];
2019-10-23 10:07:42 +00:00
});
py = python.override {
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
argcomplete
2019-12-01 22:28:29 +00:00
azure-common
2019-10-23 10:07:42 +00:00
azure-cli-telemetry
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
pyopenssl
2019-12-01 22:28:29 +00:00
pyperclip
2019-10-23 10:07:42 +00:00
pyyaml
requests
six
tabulate
]
++ lib.optionals isPy3k [ antlr4-python3-runtime ]
++ lib.optionals (!isPy3k) [ enum34 futures antlr4-python2-runtime ndg-httpsclient ];
2020-11-28 17:24:03 +00:00
postPatch = ''
substituteInPlace setup.py \
2021-07-08 20:34:22 +00:00
--replace "azure-mgmt-core>=1.2.0,<1.3.0" "azure-mgmt-core~=1.2" \
2021-03-11 20:00:18 +00:00
--replace "cryptography>=3.2,<3.4" "cryptography"
2020-11-28 17:24:03 +00:00
'';
2019-12-01 22:28:29 +00:00
doCheck = stdenv.isLinux;
2020-09-28 18:13:29 +00:00
# ignore tests that does network call
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)'
PYTHONPATH=$PWD:$PYTHONPATH HOME=$TMPDIR pytest \
--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 \
-k 'not metadata_url'
2019-10-23 10:07:42 +00:00
'';
pythonImportsCheck = [
"azure.cli.telemetry"
"azure.cli.core"
];
};
azure-cli-telemetry = buildAzureCliPackage {
pname = "azure-cli-telemetry";
version = "1.0.4"; # might be wrong, but doesn't really matter
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
portalocker
];
# upstream doesn't update this requirement probably because they use pip
postPatch = ''
substituteInPlace setup.py \
--replace "portalocker~=1.6" "portalocker"
'';
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'
'';
};
2021-07-08 20:34:22 +00:00
azure-appconfiguration = overrideAzureMgmtPackage super.azure-appconfiguration "1.1.1" "zip"
"sha256-uDzSy2PZMiXehOJ6u/wFkhL43id2b0xY3Tq7g53/C+Q=";
2020-12-30 22:33:08 +00:00
azure-batch = overrideAzureMgmtPackage super.azure-batch "10.0.0" "zip"
"83d7a2b0be42ca456ac2b56fa3dc6ce704c130e888d37d924072c1d3718f32d0";
2020-04-23 00:01:49 +00:00
2020-09-28 18:13:29 +00:00
azure-mgmt-apimanagement = overrideAzureMgmtPackage super.azure-mgmt-apimanagement "0.2.0" "zip"
"0whx3s8ri9939r3pdvjf8iqcslas1xy6cnccidmp10r5ng0023vr";
2020-04-06 18:53:52 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-batch = overrideAzureMgmtPackage super.azure-mgmt-batch "15.0.0" "zip"
"9b793bb31a0d4dc8c29186db61db24d83795851a75846aadb187cf95bf853ccb";
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
2021-03-11 20:00:18 +00:00
azure-mgmt-botservice = overrideAzureMgmtPackage super.azure-mgmt-botservice "0.3.0" "zip"
"f8318878a66a0685a01bf27b7d1409c44eb90eb72b0a616c1a2455c72330f2f1";
2021-01-28 03:54:52 +00:00
2020-07-14 19:46:20 +00:00
azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "0.5.0" "zip"
"1wxh7mgrknnhqyafdd7sbwx8plx0zga2af21vs6yhxy48lw9w8pd";
2021-05-06 06:46:40 +00:00
azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "8.1.0b4" "zip"
"sha256-39msNYlZeZdn8cJ4LjZw9oxzy0YrNSPVEIN21wnkMKs=";
2020-04-23 00:01:49 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-recoveryservices = overrideAzureMgmtPackage super.azure-mgmt-recoveryservices "1.0.0" "zip"
"0v0ycyjnnx09jqf958hj2q6zfpsn80bxxm98jf59y8rj09v99rza";
2021-07-08 20:34:22 +00:00
azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "0.12.0" "zip"
"sha256-mrw1Gs3LMOPFiL5mSSrm+g1/dxihplA6ItYHbwljJbM=";
2021-06-09 21:34:48 +00:00
azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "18.0.0" "zip"
"551036e592f409ef477d30937ea7cc4dda5126576965d9c816fdb8401bbd774c";
2020-02-20 23:08:41 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "2.0.0" "zip"
2021-01-28 03:54:52 +00:00
"b58bbe82a7429ba589292024896b58d96fe9fa732c578569cac349928dc2ca5f";
2019-10-23 10:07:42 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-cognitiveservices = overrideAzureMgmtPackage super.azure-mgmt-cognitiveservices "12.0.0" "zip"
"73054bd19866577e7e327518afc8f47e1639a11aea29a7466354b81804f4a676";
2021-07-08 20:34:22 +00:00
azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "21.0.0" "zip"
"sha256-kifDdVpwvDd9cONeH8bx+rEJ3YiXT9LHEphnzKoQ+BM=";
2019-10-23 10:07:42 +00:00
azure-mgmt-consumption = overrideAzureMgmtPackage super.azure-mgmt-consumption "2.0.0" "zip"
"12ai4qps73ivawh0yzvgb148ksx02r30pqlvfihx497j62gsi1cs";
azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "1.4.0" "zip"
"1qw6228bia5pimcijr755npli2l33jyfka1s2bzgl1w4h3prsji7";
2021-07-08 20:34:22 +00:00
azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "16.0.0" "zip"
"d6aa95951d32fe2cb390b3d8ae4f6459746de51bbaad94b5d1842dd35c4d0c11";
2020-05-18 23:39:41 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "6.4.0" "zip"
"fb6b8ab80ab97214b94ae9e462ba1c459b68a3af296ffc26317ebd3ff500e00b";
2021-05-06 06:46:40 +00:00
azure-mgmt-databoxedge = overrideAzureMgmtPackage super.azure-mgmt-databoxedge "0.2.0" "zip"
"sha256-g8BtUpIGOse8Jrws48gQ/o7sgymlgX0XIxl1ThHS3XA=";
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";
2021-07-08 20:34:22 +00:00
azure-mgmt-eventgrid = overrideAzureMgmtPackage super.azure-mgmt-eventgrid "9.0.0" "zip"
"aecbb69ecb010126c03668ca7c9a2be8e965568f5b560f0e7b5bc152b157b510";
2020-07-14 19:46:20 +00:00
2020-07-06 18:12:01 +00:00
azure-mgmt-imagebuilder = overrideAzureMgmtPackage super.azure-mgmt-imagebuilder "0.4.0" "zip"
"0cqpjnkpid6a34ifd4vk4fn1h57pa1bg3r756wv082xl2szr34jc";
2021-06-09 21:34:48 +00:00
azure-mgmt-iothub = overrideAzureMgmtPackage super.azure-mgmt-iothub "2.0.0" "zip"
"653a765f0beb6af0c9ecbd290b4101e1b5e0f6450405faf28ab8234c15d8b38b";
2019-10-23 10:07:42 +00:00
2021-03-11 20:00:18 +00:00
azure-mgmt-iotcentral = overrideAzureMgmtPackage super.azure-mgmt-iotcentral "4.1.0" "zip"
"e6d4810f454c0d63a5e816eaa7e54a073a3f70b2256162ff1c234cfe91783ae6";
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
2021-07-08 20:34:22 +00:00
azure-mgmt-netapp = overrideAzureMgmtPackage super.azure-mgmt-netapp "4.0.0" "zip"
"7195e413a0764684cd42bec9e429c13c290db9ab5c465dbed586a6f6d0ec8a42";
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
2021-03-11 20:00:18 +00:00
azure-mgmt-loganalytics = overrideAzureMgmtPackage super.azure-mgmt-loganalytics "8.0.0" "zip"
"3e7a93186594c328a6f34f0e0d9209a05021228baa85aa4c1c4ffdbf8005a45f";
2020-04-23 00:01:49 +00:00
2021-06-09 21:34:48 +00:00
azure-mgmt-network = overrideAzureMgmtPackage super.azure-mgmt-network "19.0.0" "zip"
"5e39a26ae81fa58c13c02029700f8c7b22c3fd832a294c543e3156a91b9459e8";
2021-05-06 06:46:40 +00:00
azure-mgmt-maps = overrideAzureMgmtPackage super.azure-mgmt-maps "0.1.0" "zip"
"sha256-wSDiELthdo2ineJNKLgvjUKuJOUjlutlabSZcJ4i8AY=";
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=";
2021-06-09 21:34:48 +00:00
azure-mgmt-managementgroups = overrideAzureMgmtPackage super.azure-mgmt-managementgroups "0.1.0" "zip"
"sha256-/2LZgu3aY0o2Fgyx0Vo2epVypay0GeXnrTcejIO9R8c=";
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
2021-03-11 20:00:18 +00:00
azure-mgmt-media = overrideAzureMgmtPackage super.azure-mgmt-media "3.0.0" "zip"
"sha256-iUR3VyXFJTYU0ldXbYQe5or6NPVwsFwJJKf3Px2yiiQ=";
2019-12-21 06:04:51 +00:00
2019-10-23 10:07:42 +00:00
azure-mgmt-msi = overrideAzureMgmtPackage super.azure-mgmt-msi "0.2.0" "zip"
"0rvik03njz940x2hvqg6iiq8k0d88gyygsr86w8s0sa12sdbq8l6";
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
azure-mgmt-web = overrideAzureMgmtPackage super.azure-mgmt-web "2.0.0" "zip"
"0040e1c9c795f7bebe43647ff30b62cb0db7175175df5cbfa1e554a6a277b81e";
2019-10-23 10:07:42 +00:00
2020-04-23 00:01:49 +00:00
azure-mgmt-redhatopenshift = overrideAzureMgmtPackage super.azure-mgmt-redhatopenshift "0.1.0" "zip"
"1g65lbia1i1jw6qkyjz2ldyl3p90rbr78l8kfryg70sj7z3gnnjn";
2019-12-21 06:04:51 +00:00
azure-mgmt-redis = overrideAzureMgmtPackage super.azure-mgmt-redis "7.0.0rc1" "zip"
"086wk31wsl8dx14qpd0g1bly8i9a8fix007djlj9cybva2f2bk6k";
2019-12-01 22:28:29 +00:00
azure-mgmt-reservations = overrideAzureMgmtPackage super.azure-mgmt-reservations "0.6.0" "zip"
"16ycni3cjl9c0mv419gy5rgbrlg8zp0vnr6aj8z8p2ypdw6sgac3";
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
2020-12-30 22:33:08 +00:00
azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "0.6.0" "zip"
"9f37d0151d730801222af111f0830905634795dbfd59ad1b89c35197421e74d3";
2019-10-23 10:07:42 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "1.0.0b2" "zip"
"sha256-FTxY8qoihHG4OZuKT3sRRlKfORbIoqDqug9Ko+6S9dw=";
2020-06-03 00:36:04 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-sql = overrideAzureMgmtPackage super.azure-mgmt-sql "0.29.0" "zip"
"sha256-a8epWPoGI4SA01DkjToaHmTx8lSPgwMB7dutI/zaoAA=";
2020-01-09 17:50:09 +00:00
azure-mgmt-sqlvirtualmachine = overrideAzureMgmtPackage super.azure-mgmt-sqlvirtualmachine "0.5.0" "zip"
"1b9am8raa17hxnz7d5pk2ix0309wsnhnchq1mi22icd728sl5adm";
2021-07-08 20:34:22 +00:00
azure-mgmt-synapse = overrideAzureMgmtPackage super.azure-mgmt-synapse "2.0.0" "zip"
"bec6bdfaeb55b4fdd159f2055e8875bf50a720bb0fce80a816e92a2359b898c8";
2020-09-02 20:56:54 +00:00
2021-01-28 03:54:52 +00:00
azure-mgmt-datamigration = overrideAzureMgmtPackage super.azure-mgmt-datamigration "4.1.0" "zip"
"c33d1deb0ee173a15c8ec21a1e714ba544fe5f4895d3b1d8b0581f3c1b2e8ce4";
2019-10-23 10:07:42 +00:00
azure-mgmt-relay = overrideAzureMgmtPackage super.azure-mgmt-relay "0.1.0" "zip"
"1jss6qhvif8l5s0lblqw3qzijjf0h88agciiydaa7f4q577qgyfr";
2020-09-28 18:13:29 +00:00
azure-mgmt-eventhub = overrideAzureMgmtPackage super.azure-mgmt-eventhub "4.1.0" "zip"
"186g70slb259ybrr69zr2ibbmqgplnpncwxzg0nxp6rd7pml7d85";
2019-10-23 10:07:42 +00:00
2021-05-06 06:46:40 +00:00
azure-mgmt-keyvault = overrideAzureMgmtPackage super.azure-mgmt-keyvault "9.0.0" "zip"
"2890c489289b8a0bf833852014f2f494eb96873834896910ddfa58cfa97b90da";
2019-10-23 10:07:42 +00:00
2021-05-06 06:46:40 +00:00
azure-mgmt-cdn = overrideAzureMgmtPackage super.azure-mgmt-cdn "11.0.0" "zip"
"28e7070001e7208cdb6c2ad253ec78851abdd73be482230d2c0874eed5bc0907";
2019-12-21 06:04:51 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-containerregistry = overrideAzureMgmtPackage super.azure-mgmt-containerregistry "8.0.0" "zip"
"480eb5d1bb910da4e87a5d7047e2f3e426083b14911ac64c48badd0218e9e756";
2019-10-23 10:07:42 +00:00
2021-03-11 20:00:18 +00:00
azure-mgmt-monitor = overrideAzureMgmtPackage super.azure-mgmt-monitor "2.0.0" "zip"
"e7f7943fe8f0efe98b3b1996cdec47c709765257a6e09e7940f7838a0f829e82";
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
2021-06-09 21:34:48 +00:00
azure-mgmt-storage = overrideAzureMgmtPackage super.azure-mgmt-storage "18.0.0" "zip"
"d17beb34273797fa89863632ff0e1eb9b6a55198abb8c7f05d84980762e5f71f";
2019-10-23 10:07:42 +00:00
2021-06-09 21:34:48 +00:00
azure-mgmt-servicebus = overrideAzureMgmtPackage super.azure-mgmt-servicebus "6.0.0" "zip"
"f6c64ed97d22d0c03c4ca5fc7594bd0f3d4147659c10110160009b93f541298e";
2020-11-02 17:45:29 +00:00
2020-09-28 18:13:29 +00:00
azure-mgmt-servicefabric = overrideAzureMgmtPackage super.azure-mgmt-servicefabric "0.5.0" "zip"
"0x6wxb9zrvcayg3yw0nm99p10vvgc0x3zwk9amzs5m682r2z4wap";
2019-10-23 10:07:42 +00:00
2021-07-08 20:34:22 +00:00
azure-mgmt-hdinsight = overrideAzureMgmtPackage super.azure-mgmt-hdinsight "8.0.0" "zip"
"2c43f1a62e5b83304392b0ad7cfdaeef2ef2f47cb3fdfa2577b703b6ea126000";
2020-09-02 20:56:54 +00:00
2021-05-06 06:46:40 +00:00
azure-multiapi-storage = overrideAzureMgmtPackage super.azure-multiapi-storage "0.6.2" "tar.gz"
"74061f99730fa82c54d9b8ab3c7d6e219da3f30912740ecf0456b20cb3555ebc";
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 {
2021-05-06 06:46:40 +00:00
version = "0.6.0";
2020-11-02 17:45:29 +00:00
src = super.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
2021-05-06 06:46:40 +00:00
sha256 = "ec113d37386b8787862baaf9da0318364a008004a377d20fdfca31cfe8d16210";
2020-11-02 17:45:29 +00:00
extension = "zip";
};
});
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";
};
});
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
};
});
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=";
};
});
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
};
});
2021-06-09 21:34:48 +00:00
PyGithub = super.PyGithub.overridePythonAttrs(oldAttrs: rec {
version = "1.38";
src = super.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
sha256 = "sha256-HtCPd17FBnvIRStyveLbuVz05S/yvVDMMsackf+tknI=";
};
doCheck = false;
});
2021-03-11 20:00:18 +00:00
knack = super.knack.overridePythonAttrs(oldAttrs: rec {
2021-06-09 21:34:48 +00:00
version = "0.8.2";
2020-06-08 20:29:58 +00:00
src = super.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
2021-06-09 21:34:48 +00:00
sha256 = "sha256-TqpQocXnnRxcjl4XBbZhchsLg6CJaV5Z4inMJsZJY7k=";
2020-06-08 20:29:58 +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";
};
});
websocket-client = super.websocket-client.overridePythonAttrs(oldAttrs: rec {
2020-06-08 20:29:58 +00:00
version = "0.56.0";
src = oldAttrs.src.override {
2020-06-08 20:29:58 +00:00
inherit version;
sha256 = "0fpxjyr74klnyis3yf6m54askl0h5dchxcwbfjsq92xng0455m8z";
};
});
2019-10-23 10:07:42 +00:00
};
};
in
py