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; {
|
|
|
|
description = "CocoaPods manages dependencies for your Xcode projects.";
|
|
|
|
homepage = https://github.com/CocoaPods/CocoaPods;
|
|
|
|
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
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|