3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/fastlane/default.nix

34 lines
977 B
Nix
Raw Normal View History

2018-10-11 21:19:42 +01:00
{ stdenv, bundlerEnv, ruby, makeWrapper }:
2017-10-04 15:02:23 +01:00
2018-10-11 21:19:42 +01:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
2017-10-04 15:02:23 +01:00
pname = "fastlane";
2018-10-11 21:19:42 +01:00
version = (import ./gemset.nix).fastlane.version;
2017-10-04 15:02:23 +01:00
2018-10-11 21:19:42 +01:00
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; {
2017-10-04 15:02:23 +01: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;
license = licenses.mit;
maintainers = with maintainers; [
peterromfeldhk
];
};
}