3
0
Fork 0
forked from mirrors/nixpkgs

fastlane: disable update check

This commit is contained in:
Nick Novitski 2018-10-11 12:19:42 -08:00
parent c40ba6355e
commit 63ed3c8c5e

View file

@ -1,11 +1,27 @@
{ lib, bundlerEnv, ruby }:
{ stdenv, bundlerEnv, ruby, makeWrapper }:
bundlerEnv rec {
inherit ruby;
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "fastlane";
gemdir = ./.;
version = (import ./gemset.nix).fastlane.version;
meta = with lib; {
nativeBuildInputs = [ makeWrapper ];
env = bundlerEnv {
name = "${name}-gems";
inherit pname ruby;
gemdir = ./.;
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/fastlane $out/bin/fastlane \
--set FASTLANE_SKIP_UPDATE_CHECK 1
'';
meta = with stdenv.lib; {
description = "A tool to automate building and releasing iOS and Android apps";
longDescription = "fastlane is a tool for iOS and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.";
homepage = https://github.com/fastlane/fastlane;