nixpkgs/pkgs/development/tools/cocoapods/default.nix

27 lines
771 B
Nix
Raw Normal View History

{ lib, bundlerApp, ruby
, beta ? false }:
2019-08-13 21:52:01 +00:00
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" ];
2019-05-23 04:23:35 +00:00
# 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
lilyball
];
2022-03-29 01:36:40 +00:00
mainProgram = "pod";
};
}