about summary refs log tree commit diff
path: root/pkgs/by-name/lm/lmstudio/package.nix
blob: 59af9b4f96b5b9ff65b2b3137c09f63971c07381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib
, stdenv
, callPackage
, ...
}:
let
  pname = "lmstudio";
  version = "0.2.27";
  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";
    maintainers = with lib.maintainers; [ cig0 eeedean ];
    platforms = [ "x86_64-linux" "aarch64-darwin" ];
    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
  };
in
  if stdenv.isDarwin
    then callPackage ./darwin.nix { inherit pname version meta; }
    else callPackage ./linux.nix  { inherit pname version meta; }