mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
26 lines
759 B
Nix
26 lines
759 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" ];
|
|
|
|
# toString prevents the update script from being copied into the nix store
|
|
passthru.updateScript = toString ./update;
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|