2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
2024-05-15 15:35:15 +00:00
|
|
|
, stdenv
|
|
|
|
, callPackage
|
|
|
|
, ...
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
pname = "lmstudio";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0.2.25";
|
2024-04-21 15:54:59 +00:00
|
|
|
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/";
|
|
|
|
license = lib.licenses.unfree;
|
|
|
|
mainProgram = "lmstudio";
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with lib.maintainers; [ cig0 eeedean ];
|
2024-06-20 14:57:18 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-darwin" ];
|
2024-04-21 15:54:59 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
in
|
|
|
|
if stdenv.isDarwin
|
|
|
|
then callPackage ./darwin.nix { inherit pname version meta; }
|
|
|
|
else callPackage ./linux.nix { inherit pname version meta; }
|
|
|
|
|