bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
22 lines
676 B
Nix
22 lines
676 B
Nix
{ lib
|
|
, stdenv
|
|
, callPackage
|
|
, ...
|
|
}:
|
|
let
|
|
pname = "lmstudio";
|
|
version = "0.2.25";
|
|
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; }
|
|
|