forked from mirrors/nixpkgs
commit
e2cc56f98c
24
pkgs/applications/misc/iterm2/default.nix
Normal file
24
pkgs/applications/misc/iterm2/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iterm2-${version}";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://iterm2.com/downloads/stable/iTerm2-2_1_4.zip";
|
||||
sha256 = "1kb4j1p1kxj9dcsd34709bm2870ffzpq6jig6q9ixp08g0zbhqhh";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
installPhase = ''
|
||||
mkdir -p "$out/Applications"
|
||||
mv "$(pwd)" "$out/Applications/iTerm.app"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A replacement for Terminal and the successor to iTerm";
|
||||
homepage = https://www.iterm2.com/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
};
|
||||
}
|
|
@ -16951,4 +16951,6 @@ in
|
|||
tomb = callPackage ../os-specific/linux/tomb {};
|
||||
|
||||
imatix_gsl = callPackage ../development/tools/imatix_gsl {};
|
||||
|
||||
iterm2 = callPackage ../applications/misc/iterm2 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue