Skip to content

Commit

Permalink
lmstudio: 0.3.4 -> 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
eeedean committed Dec 15, 2024
1 parent dd0af4f commit d69afcb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/lm/lmstudio/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
meta,
pname,
version,
rev,
}:
stdenv.mkDerivation {
inherit meta pname version;

src = fetchurl {
url = "https://releases.lmstudio.ai/darwin/arm64/${version}/3/LM-Studio-${version}-arm64.dmg";
hash = "sha256-b9QJMZl42D3TL8nzoQ+Dtxhit8uzGp9gByeCCHyu6gw=";
url = "https://releases.lmstudio.ai/darwin/arm64/${version}/${rev}/LM-Studio-${version}-arm64.dmg";
hash = "sha256-XPaXIWd/Xl3i5dS+5WY9OEIB9PNWe5y9C1MwoZMDht0=";
};

nativeBuildInputs = [ undmg ];
Expand Down
5 changes: 3 additions & 2 deletions pkgs/by-name/lm/lmstudio/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
appimageTools,
fetchurl,
version,
rev,
pname,
meta,
}:
let
src = fetchurl {
url = "https://releases.lmstudio.ai/linux/x86/${version}/3/LM_Studio-${version}.AppImage";
hash = "sha256-5yArraRyNY1TLmgGSe/1Zsirm093w+6tvXJr4+xiVtY=";
url = "https://releases.lmstudio.ai/linux/x86/${version}/${rev}/LM_Studio-${version}.AppImage";
hash = "sha256-ylUS6WrGavNW1WbroBnCLeeMBeBX41ontwKeQLug6/s=";
};

appimageContents = appimageTools.extractType2 { inherit pname version src; };
Expand Down
7 changes: 4 additions & 3 deletions pkgs/by-name/lm/lmstudio/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
}:
let
pname = "lmstudio";
version = "0.3.4";
version = "0.3.5";
rev = "2";
meta = {
description = "LM Studio is an easy to use desktop app for experimenting with local and open-source Large Language Models (LLMs)";
homepage = "https://lmstudio.ai/";
Expand All @@ -25,6 +26,6 @@ let
};
in
if stdenv.hostPlatform.isDarwin then
callPackage ./darwin.nix { inherit pname version meta; }
callPackage ./darwin.nix { inherit pname version rev meta; }
else
callPackage ./linux.nix { inherit pname version meta; }
callPackage ./linux.nix { inherit pname version rev meta; }

0 comments on commit d69afcb

Please sign in to comment.