2019-04-10 06:10:38 +01:00
|
|
|
{ lib, bundlerApp, ruby
|
|
|
|
, beta ? false }:
|
2018-04-21 20:37:56 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
bundlerApp {
|
2018-04-21 20:37:56 +01:00
|
|
|
inherit ruby;
|
|
|
|
pname = "cocoapods";
|
2019-04-10 06:10:38 +01: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 20:37:56 +01:00
|
|
|
|
2019-05-23 05:23:35 +01:00
|
|
|
# toString prevents the update script from being copied into the nix store
|
|
|
|
passthru.updateScript = toString ./update;
|
|
|
|
|
2018-04-21 20:37:56 +01:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Manages dependencies for your Xcode projects";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/CocoaPods/CocoaPods";
|
2018-04-21 20:37:56 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
peterromfeldhk
|
2019-04-10 06:10:38 +01:00
|
|
|
lilyball
|
2018-04-21 20:37:56 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|