lmstudio: 0.3.4 -> 0.3.5 (#365437)

This commit is contained in:
Pol Dellaiera
2024-12-16 23:00:09 +01:00
committed by GitHub
3 changed files with 24 additions and 7 deletions
+3 -2
View File
@@ -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 ];
+3 -2
View File
@@ -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; };
+18 -3
View File
@@ -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/";
@@ -25,6 +26,20 @@ 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
;
}