lmstudio: 0.3.28.2 -> 0.3.30.1
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
let
|
||||
pname = "lmstudio";
|
||||
|
||||
version_aarch64-darwin = "0.3.28-2";
|
||||
hash_aarch64-darwin = "sha256-7sxhKZwZKzA2VUPHsChgysxXMB7SKEd9zK4kIPbWYjo=";
|
||||
version_x86_64-linux = "0.3.28-2";
|
||||
hash_x86_64-linux = "sha256-ewVjJ0Sy5Zwf9tvlfngQKnAfAv3BvPIAO+p1tJ3mO8M=";
|
||||
version_aarch64-darwin = "0.3.30-2";
|
||||
hash_aarch64-darwin = "sha256-49wubBIteg+gs9RQEozRiiFgWnVlHm1aOf7EqK1uvt4=";
|
||||
version_x86_64-linux = "0.3.30-2";
|
||||
hash_x86_64-linux = "sha256-v2m5/BoyGXRi09To9rHp79+t2QnT5U0XuL5WNpfWWRU=";
|
||||
|
||||
meta = {
|
||||
description = "LM Studio is an easy to use desktop app for experimenting with local and open-source Large Language Models (LLMs)";
|
||||
|
||||
@@ -3,13 +3,14 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
packages="$(curl -s -L "https://lmstudio.ai/" | grep -oE 'https://installers.lmstudio.ai[^"\]*' | sort -u | grep -v \\.exe)"
|
||||
for system in "aarch64-darwin darwin/arm64" "x86_64-linux linux/x64"; do
|
||||
# shellcheck disable=SC2086
|
||||
set -- ${system} # split string into variables $1 and $2
|
||||
|
||||
arch="${1}"
|
||||
url=$(echo "${packages}" | grep "${2}")
|
||||
platform="${2}"
|
||||
|
||||
url=$(curl -ILs -o /dev/null -w %{url_effective} "https://lmstudio.ai/download/latest/${platform}")
|
||||
version="$(echo "${url}" | cut -d/ -f6)"
|
||||
hash=$(nix --extra-experimental-features nix-command hash convert --hash-algo sha256 "$(nix-prefetch-url "${url}")")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user