nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit e36a458895476d78a683edf76bbedbfdc445decb
parent c42d8762c98f28ae07df10d96e01028160f86b21
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Mon,  3 Aug 2020 20:55:05 +0300

Add iterm2-bin

Diffstat:
Apkgs/applications/iterm2/bin.nix | 32++++++++++++++++++++++++++++++++
Mpkgs/default.nix | 1+
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/pkgs/applications/iterm2/bin.nix b/pkgs/applications/iterm2/bin.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, unzip }: +let + pname = "iterm2"; + version = "3.3.12"; +in +stdenv.mkDerivation { + inherit pname version; + + src = fetchurl { + url = "https://iterm2.com/downloads/stable/iTerm2-${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}.zip"; + sha256 = "0rw165p9iypc11pr0mmwd1z4dvg0f3is2p8bv2sk30wyd4hba4b8"; + }; + + unpackPhase = "${unzip}/bin/unzip $src"; + + installPhase = '' + mkdir -p $out/Applications + cp -r iTerm.app $out/Applications + /usr/bin/defaults write com.googlecode.iterm2 SUEnableAutomaticChecks -bool false + ''; + + preferLocalBuild = true; + + meta = with stdenv.lib; { + description = "A replacement for Terminal and the successor to iTerm"; + homepage = "https://iterm2.com/"; + license = licenses.gpl2; + platforms = [ "x86_64-darwin" ]; + maintainers = [ maintainers.sikmir ]; + skip.ci = true; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -18,6 +18,7 @@ lib.makeScope newScope ( inherit sources; }; gpxsee-bin = callPackage ./applications/gpxsee/bin.nix { }; + iterm2-bin = callPackage ./applications/iterm2/bin.nix { }; keeweb-bin = callPackage ./applications/keeweb/bin.nix { }; librewolf = callPackage ./applications/librewolf { }; macpass-bin = callPackage ./applications/macpass/bin.nix { };