1{ lib, bundlerApp, ruby
2, beta ? false }:
3
4bundlerApp {
5 inherit ruby;
6 pname = "cocoapods";
7 gemfile = if beta then ./Gemfile-beta else ./Gemfile;
8 lockfile = if beta then ./Gemfile-beta.lock else ./Gemfile.lock;
9 gemset = if beta then ./gemset-beta.nix else ./gemset.nix;
10 exes = [ "pod" ];
11
12 # toString prevents the update script from being copied into the nix store
13 passthru.updateScript = toString ./update;
14
15 meta = with lib; {
16 description = "Manages dependencies for your Xcode projects";
17 homepage = "https://github.com/CocoaPods/CocoaPods";
18 license = licenses.mit;
19 platforms = platforms.darwin;
20 maintainers = with maintainers; [
21 peterromfeldhk
22 lilyball
23 ];
24 mainProgram = "pod";
25 };
26}