iTerm2: 2.1.4 -> 3.0.2

This commit is contained in:
Marc Scholten 2016-06-23 17:14:02 +02:00
parent a1f3a0acda
commit 31d3efa0d4
2 changed files with 21 additions and 7 deletions

View File

@ -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 = {

View 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,