2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
pname,
|
|
|
|
version,
|
|
|
|
src,
|
|
|
|
meta,
|
|
|
|
unzip,
|
|
|
|
undmg,
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2024-07-27 06:49:29 +00:00
|
|
|
inherit
|
|
|
|
pname
|
|
|
|
version
|
|
|
|
src
|
|
|
|
meta
|
|
|
|
;
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
unzip
|
|
|
|
undmg
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/Applications
|
|
|
|
cp -r *.app $out/Applications
|
|
|
|
'';
|
2022-12-17 10:02:37 +00:00
|
|
|
|
|
|
|
# 1Password is notarized.
|
|
|
|
dontFixup = true;
|
2022-10-21 18:38:19 +00:00
|
|
|
}
|