f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
25 lines
756 B
Nix
25 lines
756 B
Nix
{ 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; {
|
|
description = "Manages dependencies for your Xcode projects";
|
|
homepage = "https://github.com/CocoaPods/CocoaPods";
|
|
license = licenses.mit;
|
|
platforms = platforms.darwin;
|
|
maintainers = with maintainers; [
|
|
peterromfeldhk
|
|
];
|
|
mainProgram = "pod";
|
|
};
|
|
}
|