2019-11-29 10:20:08 +00:00
|
|
|
{ lib, stdenv, callPackage, mkShell,
|
2024-03-22 14:21:44 +00:00
|
|
|
bundlerEnv, cocoapods, bundler, ruby, curl, clang }:
|
2019-06-04 16:50:29 +00:00
|
|
|
|
|
|
|
let
|
2019-11-29 10:20:08 +00:00
|
|
|
inherit (lib) optionals optionalString unique;
|
2019-07-15 10:17:21 +00:00
|
|
|
|
2019-06-04 16:50:29 +00:00
|
|
|
fastlane = callPackage ../../../fastlane {
|
2019-07-29 08:33:35 +00:00
|
|
|
bundlerEnv = _:
|
|
|
|
bundlerEnv {
|
|
|
|
name = "fastlane-gems";
|
|
|
|
gemdir = ../../../fastlane;
|
|
|
|
};
|
2019-06-04 16:50:29 +00:00
|
|
|
};
|
|
|
|
|
2019-11-29 10:20:08 +00:00
|
|
|
inherit (fastlane) shellHook;
|
2019-06-04 16:50:29 +00:00
|
|
|
|
2024-03-22 14:21:44 +00:00
|
|
|
buildInputs = [ ruby bundler fastlane curl clang ]
|
2019-11-29 10:20:08 +00:00
|
|
|
++ optionals stdenv.isDarwin [ cocoapods ];
|
2019-06-04 16:50:29 +00:00
|
|
|
in {
|
2019-11-29 10:20:08 +00:00
|
|
|
# HELPERS
|
|
|
|
inherit shellHook buildInputs;
|
2019-06-04 16:50:29 +00:00
|
|
|
|
|
|
|
# TARGETS
|
2019-11-29 10:20:08 +00:00
|
|
|
drv = fastlane;
|
|
|
|
shell = mkShell {
|
|
|
|
inherit shellHook buildInputs;
|
|
|
|
};
|
2019-06-04 16:50:29 +00:00
|
|
|
}
|