1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

Merge pull request #48230 from nicknovitski/fastlane-disable-update-check

fastlane: disable update check
This commit is contained in:
Jörg Thalheim 2018-10-12 14:29:56 +01:00 committed by GitHub
commit 8635fbdb55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;