nixpkgs/pkgs/applications/misc/1password-gui/darwin.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
271 B
Nix
Raw Normal View History

{ 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
'';
}