mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
25 lines
320 B
Nix
25 lines
320 B
Nix
{ stdenv
|
|
, pname
|
|
, version
|
|
, src
|
|
, meta
|
|
, unzip
|
|
, undmg
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit pname version src meta;
|
|
|
|
nativeBuildInputs = [ unzip undmg ];
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/Applications
|
|
cp -r *.app $out/Applications
|
|
'';
|
|
|
|
# 1Password is notarized.
|
|
dontFixup = true;
|
|
}
|