2019-04-10 05:10:38 +00:00
|
|
|
{ lib, bundlerApp, ruby
|
|
|
|
, beta ? false }:
|
2018-04-21 19:37:56 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
bundlerApp {
|
2018-04-21 19:37:56 +00:00
|
|
|
inherit ruby;
|
|
|
|
pname = "cocoapods";
|
2019-04-10 05:10:38 +00:00
|
|
|
gemfile = if beta then ./Gemfile-beta else ./Gemfile;
|
|
|
|
lockfile = if beta then ./Gemfile-beta.lock else ./Gemfile.lock;
|
|
|
|
gemset = if beta then ./gemset-beta.nix else ./gemset.nix;
|
|
|
|
exes = [ "pod" ];
|
2018-04-21 19:37:56 +00:00
|
|
|
|
2019-05-23 04:23:35 +00:00
|
|
|
# toString prevents the update script from being copied into the nix store
|
|
|
|
passthru.updateScript = toString ./update;
|
|
|
|
|
2018-04-21 19:37:56 +00:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Manages dependencies for your Xcode projects";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/CocoaPods/CocoaPods";
|
2018-04-21 19:37:56 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
peterromfeldhk
|
2019-04-10 05:10:38 +00:00
|
|
|
lilyball
|
2018-04-21 19:37:56 +00:00
|
|
|
];
|
2022-03-29 01:36:40 +00:00
|
|
|
mainProgram = "pod";
|
2018-04-21 19:37:56 +00:00
|
|
|
};
|
|
|
|
}
|