nixpkgs/pkgs/tools/admin/fastlane/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

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