forked from mirrors/nixpkgs
iTerm2: 2.1.4 -> 3.0.2
This commit is contained in:
parent
a1f3a0acda
commit
31d3efa0d4
|
@ -1,18 +1,21 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iterm2-${version}";
|
||||
version = "2.1.4";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://iterm2.com/downloads/stable/iTerm2-2_1_4.zip";
|
||||
sha256 = "1kb4j1p1kxj9dcsd34709bm2870ffzpq6jig6q9ixp08g0zbhqhh";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnachman";
|
||||
repo = "iTerm2";
|
||||
rev = "v${version}";
|
||||
sha256 = "121g759i814y1g1g1jwhsmxgg4wrzv08vq7a7qwc7b85a17zbd3h";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
patches = [ ./disable_updates.patch ];
|
||||
makeFlagsArray = ["Deployment"];
|
||||
installPhase = ''
|
||||
mkdir -p "$out/Applications"
|
||||
mv "$(pwd)" "$out/Applications/iTerm.app"
|
||||
mv "build/Deployment/iTerm2.app" "$out/Applications/iTerm.app"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
11
pkgs/applications/misc/iterm2/disable_updates.patch
Normal file
11
pkgs/applications/misc/iterm2/disable_updates.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- iTerm2/sources/iTermPreferences.m 2016-06-23 16:55:28.000000000 +0200
|
||||
+++ iTerm2/sources/iTermPreferences.m 2016-06-23 16:55:42.000000000 +0200
|
||||
@@ -189,7 +189,7 @@
|
||||
kPreferenceKeyInstantReplayMemoryMegabytes: @4,
|
||||
kPreferenceKeySavePasteAndCommandHistory: @NO,
|
||||
kPreferenceKeyAddBonjourHostsToProfiles: @NO,
|
||||
- kPreferenceKeyCheckForUpdatesAutomatically: @YES,
|
||||
+ kPreferenceKeyCheckForUpdatesAutomatically: @NO,
|
||||
kPreferenceKeyCheckForTestReleases: @NO,
|
||||
kPreferenceKeyLoadPrefsFromCustomFolder: @NO,
|
||||
kPreferenceKeyNeverRemindPrefsChangesLostForFileHaveSelection: @NO,
|
Loading…
Reference in a new issue