From 605c0fcad9b417fa996786d67f4614abd598b89a Mon Sep 17 00:00:00 2001 From: doylet Date: Tue, 28 Nov 2023 11:52:23 +1100 Subject: [PATCH] Add jq 1.7 --- app_manifest_dev.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/app_manifest_dev.py b/app_manifest_dev.py index 67459b5..f1fc871 100644 --- a/app_manifest_dev.py +++ b/app_manifest_dev.py @@ -1377,4 +1377,35 @@ def get_manifest(is_windows): ], }) + # -------------------------------------------------------------------------- + + if is_windows: + version = "1.7" + exe_path = "jq-windows-amd64.exe" + download_url = f"https://github.com/jqlang/jq/releases/download/jq-{version}/jq-windows-amd64.exe" + download_checksum = "2e9cc54d0a5d098e2007decec1dbb3c555ca2f5aabded7aec907fe0ffe401aab" + checksum = download_checksum + symlink = [f"jq.exe", f"jq-{version}.exe"] + + result.append({ + "label": "jq", + "manifests": [ + { + "download_url": download_url, + "download_checksum": download_checksum, + "version": version, + "unzip_method": 'default', + "executables": [ + { + "path": exe_path, + "symlink": symlink, + "add_to_devenv_path": True, + "checksum": checksum, + } + ], + "add_to_devenv_script": [], + } + ], + }) + return result