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:
commit
8635fbdb55
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue