mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
23 lines
683 B
Nix
23 lines
683 B
Nix
{ lib
|
|
, stdenv
|
|
, callPackage
|
|
, ...
|
|
}:
|
|
let
|
|
pname = "lmstudio";
|
|
version = "0.3.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/";
|
|
license = lib.licenses.unfree;
|
|
mainProgram = "lmstudio";
|
|
maintainers = with lib.maintainers; [ cig0 eeedean crertel ];
|
|
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; }
|
|
|