chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / lm / lmstudio / darwin.nix
blobbd2fd80824c8854ed5cf5ea2dd207e538ed66bb3
1 { stdenv
2 , fetchurl
3 , undmg
4 , meta
5 , pname
6 , version
7 }:
8 stdenv.mkDerivation {
9   inherit meta pname version;
11   src = fetchurl {
12     url = "https://releases.lmstudio.ai/darwin/arm64/${version}/LM-Studio-${version}-arm64.dmg";
13     hash = "sha256-PmXekM7rHY8EIp6l2XiLQlxyIB00MJS5C0gzFfe1i70=";
14   };
16   nativeBuildInputs = [ undmg ];
18   sourceRoot = ".";
20   installPhase = ''
21     runHook preInstall
22     mkdir -p $out/Applications
23     cp -r *.app $out/Applications
24     runHook postInstall
25   '';