forked from mirrors/nixpkgs
ae22f7d35c
cocoapods-beta is an alternative attribute for the cocoapods package that provides the latest beta instead of the stable version. Also switch to `bundlerApp` so we stop polluting the profile with our gem dependencies and can get rid of the broken `sandbox-pod` executable.
23 lines
636 B
Nix
23 lines
636 B
Nix
{ lib, bundlerApp, ruby
|
|
, beta ? false }:
|
|
|
|
bundlerApp rec {
|
|
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" ];
|
|
|
|
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
|
|
lilyball
|
|
];
|
|
};
|
|
}
|