2020-04-24 23:36:52 +00:00
|
|
|
{ lib, bundlerApp, ruby
|
|
|
|
, beta ? false }:
|
|
|
|
|
|
|
|
bundlerApp {
|
|
|
|
inherit ruby;
|
|
|
|
pname = "cocoapods";
|
|
|
|
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" ];
|
|
|
|
|
|
|
|
# toString prevents the update script from being copied into the nix store
|
|
|
|
passthru.updateScript = toString ./update;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "Manages dependencies for your Xcode projects";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/CocoaPods/CocoaPods";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
peterromfeldhk
|
|
|
|
lilyball
|
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
mainProgram = "pod";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|