2024-11-08 15:28:45 -07:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
pname,
|
|
|
|
version,
|
|
|
|
src,
|
|
|
|
meta,
|
|
|
|
undmg,
|
2024-02-23 06:47:12 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2024-11-08 15:28:45 -07:00
|
|
|
inherit
|
|
|
|
pname
|
|
|
|
version
|
|
|
|
src
|
|
|
|
meta
|
|
|
|
;
|
2024-02-23 06:47:12 -07:00
|
|
|
|
|
|
|
nativeBuildInputs = [ undmg ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-03-18 09:11:16 -06:00
|
|
|
runHook preInstall
|
|
|
|
|
2024-02-23 06:47:12 -07:00
|
|
|
mkdir -p $out/Applications
|
|
|
|
cp -r *.app $out/Applications
|
2024-03-18 09:11:16 -06:00
|
|
|
|
|
|
|
runHook postInstall
|
2024-02-23 06:47:12 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
# Immersed is notarized.
|
|
|
|
dontFixup = true;
|
|
|
|
}
|