2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript, makeWrapper }:
|
2017-10-04 16:02:23 +02:00
|
|
|
|
2018-10-11 22:19:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2017-10-04 16:02:23 +02:00
|
|
|
pname = "fastlane";
|
2018-10-11 22:19:42 +02:00
|
|
|
version = (import ./gemset.nix).fastlane.version;
|
2017-10-04 16:02:23 +02:00
|
|
|
|
2018-10-11 22:19:42 +02:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
2021-07-20 12:03:14 +02:00
|
|
|
dontUnpack = true;
|
2018-10-11 22:19:42 +02:00
|
|
|
|
2019-11-10 00:52:53 +01:00
|
|
|
installPhase = let
|
|
|
|
env = bundlerEnv {
|
|
|
|
name = "${pname}-${version}-gems";
|
|
|
|
inherit pname ruby;
|
|
|
|
gemdir = ./.;
|
|
|
|
};
|
|
|
|
in ''
|
2018-10-11 22:19:42 +02:00
|
|
|
mkdir -p $out/bin
|
|
|
|
makeWrapper ${env}/bin/fastlane $out/bin/fastlane \
|
|
|
|
--set FASTLANE_SKIP_UPDATE_CHECK 1
|
|
|
|
'';
|
|
|
|
|
2019-07-22 14:02:47 +02:00
|
|
|
passthru.updateScript = bundlerUpdateScript "fastlane";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-10-04 16:02:23 +02:00
|
|
|
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.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/fastlane/fastlane";
|
2017-10-04 16:02:23 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
peterromfeldhk
|
2019-07-22 14:02:47 +02:00
|
|
|
nicknovitski
|
2020-05-26 17:14:23 +02:00
|
|
|
shahrukh330
|
2017-10-04 16:02:23 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|