aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/mobile/cocoapods
diff options
context:
space:
mode:
authorPeter Romfeld <peter.romfeld.hk@gmail.com>2018-04-22 03:37:56 +0800
committerMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-21 14:37:56 -0500
commitf5b3f9962e7c9e1f2413bc591231f004d2481941 (patch)
treefd35d04f46cba6ab9fbb39c05d821ac17da70c99 /pkgs/development/mobile/cocoapods
parentaeff4242dbf14a1ae86119340ce4c8e438ea18e5 (diff)
cocoapods: init at 1.3.1 (#32583)
* cocoapods: init at 1.3.1 * requires xcode
Diffstat (limited to 'pkgs/development/mobile/cocoapods')
-rw-r--r--pkgs/development/mobile/cocoapods/Gemfile2
-rw-r--r--pkgs/development/mobile/cocoapods/Gemfile.lock74
-rw-r--r--pkgs/development/mobile/cocoapods/default.nix17
-rw-r--r--pkgs/development/mobile/cocoapods/gemset.nix234
-rwxr-xr-xpkgs/development/mobile/cocoapods/update10
5 files changed, 337 insertions, 0 deletions
diff --git a/pkgs/development/mobile/cocoapods/Gemfile b/pkgs/development/mobile/cocoapods/Gemfile
new file mode 100644
index 000000000000..8308684860e6
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem 'cocoapods'
diff --git a/pkgs/development/mobile/cocoapods/Gemfile.lock b/pkgs/development/mobile/cocoapods/Gemfile.lock
new file mode 100644
index 000000000000..0ab15f1efd2f
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/Gemfile.lock
@@ -0,0 +1,74 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ CFPropertyList (2.3.6)
+ activesupport (4.2.10)
+ i18n (~> 0.7)
+ minitest (~> 5.1)
+ thread_safe (~> 0.3, >= 0.3.4)
+ tzinfo (~> 1.1)
+ claide (1.0.2)
+ cocoapods (1.3.1)
+ activesupport (>= 4.0.2, < 5)
+ claide (>= 1.0.2, < 2.0)
+ cocoapods-core (= 1.3.1)
+ cocoapods-deintegrate (>= 1.0.1, < 2.0)
+ cocoapods-downloader (>= 1.1.3, < 2.0)
+ cocoapods-plugins (>= 1.0.0, < 2.0)
+ cocoapods-search (>= 1.0.0, < 2.0)
+ cocoapods-stats (>= 1.0.0, < 2.0)
+ cocoapods-trunk (>= 1.2.0, < 2.0)
+ cocoapods-try (>= 1.1.0, < 2.0)
+ colored2 (~> 3.1)
+ escape (~> 0.0.4)
+ fourflusher (~> 2.0.1)
+ gh_inspector (~> 1.0)
+ molinillo (~> 0.5.7)
+ nap (~> 1.0)
+ ruby-macho (~> 1.1)
+ xcodeproj (>= 1.5.1, < 2.0)
+ cocoapods-core (1.3.1)
+ activesupport (>= 4.0.2, < 6)
+ fuzzy_match (~> 2.0.4)
+ nap (~> 1.0)
+ cocoapods-deintegrate (1.0.1)
+ cocoapods-downloader (1.1.3)
+ cocoapods-plugins (1.0.0)
+ nap
+ cocoapods-search (1.0.0)
+ cocoapods-stats (1.0.0)
+ cocoapods-trunk (1.3.0)
+ nap (>= 0.8, < 2.0)
+ netrc (~> 0.11)
+ cocoapods-try (1.1.0)
+ colored2 (3.1.2)
+ concurrent-ruby (1.0.5)
+ escape (0.0.4)
+ fourflusher (2.0.1)
+ fuzzy_match (2.0.4)
+ gh_inspector (1.0.3)
+ i18n (0.9.1)
+ concurrent-ruby (~> 1.0)
+ minitest (5.10.3)
+ molinillo (0.5.7)
+ nanaimo (0.2.3)
+ nap (1.1.0)
+ netrc (0.11.0)
+ ruby-macho (1.1.0)
+ thread_safe (0.3.6)
+ tzinfo (1.2.4)
+ thread_safe (~> 0.1)
+ xcodeproj (1.5.3)
+ CFPropertyList (~> 2.3.3)
+ claide (>= 1.0.2, < 2.0)
+ colored2 (~> 3.1)
+ nanaimo (~> 0.2.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ cocoapods
+
+BUNDLED WITH
+ 1.14.6
diff --git a/pkgs/development/mobile/cocoapods/default.nix b/pkgs/development/mobile/cocoapods/default.nix
new file mode 100644
index 000000000000..56624370b14a
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/default.nix
@@ -0,0 +1,17 @@
+{ lib, bundlerEnv, ruby }:
+
+bundlerEnv rec {
+ inherit ruby;
+ pname = "cocoapods";
+ gemdir = ./.;
+
+ 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
+ ];
+ };
+}
diff --git a/pkgs/development/mobile/cocoapods/gemset.nix b/pkgs/development/mobile/cocoapods/gemset.nix
new file mode 100644
index 000000000000..ff7b14e6dd8a
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/gemset.nix
@@ -0,0 +1,234 @@
+{
+ activesupport = {
+ dependencies = ["i18n" "minitest" "thread_safe" "tzinfo"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0s12j8vl8vrxfngkdlz9g8bpz9akq1z42d57mx5r537b2pji8nr7";
+ type = "gem";
+ };
+ version = "4.2.10";
+ };
+ CFPropertyList = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0hadm41xr1fq3qp74jd9l5q8l0j9083rgklgzsilllwaav7qrrid";
+ type = "gem";
+ };
+ version = "2.3.6";
+ };
+ claide = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0az54rp691hc42yl1xyix2cxv58byhaaf4gxbpghvvq29l476rzc";
+ type = "gem";
+ };
+ version = "1.0.2";
+ };
+ cocoapods = {
+ dependencies = ["activesupport" "claide" "cocoapods-core" "cocoapods-deintegrate" "cocoapods-downloader" "cocoapods-plugins" "cocoapods-search" "cocoapods-stats" "cocoapods-trunk" "cocoapods-try" "colored2" "escape" "fourflusher" "gh_inspector" "molinillo" "nap" "ruby-macho" "xcodeproj"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "050b7795jc6802wcpcgi702qkgy8vjidgq6c6mbx2alrq7l0n8q7";
+ type = "gem";
+ };
+ version = "1.3.1";
+ };
+ cocoapods-core = {
+ dependencies = ["activesupport" "fuzzy_match" "nap"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0pr42lpqs6q51gnnfxmgmbx7sw0dwyawylssj588izj8av18rhpy";
+ type = "gem";
+ };
+ version = "1.3.1";
+ };
+ cocoapods-deintegrate = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1x4hxlip6zkrs1vcmw7sh45ayn5pxvsg782iifnmgjwn2pyskj7l";
+ type = "gem";
+ };
+ version = "1.0.1";
+ };
+ cocoapods-downloader = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1664qg1wml70slcfklpnyq5ixp145f6iyn3c6pcqkqc64i1bsg87";
+ type = "gem";
+ };
+ version = "1.1.3";
+ };
+ cocoapods-plugins = {
+ dependencies = ["nap"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "16na82sfyc8801qs1n22nwq486s4j7yj6rj7fcp8cbxmj371fpbj";
+ type = "gem";
+ };
+ version = "1.0.0";
+ };
+ cocoapods-search = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "02wmy5rbjk29c65zn62bffxv30qs11slql23qx65snkm0vd93mn6";
+ type = "gem";
+ };
+ version = "1.0.0";
+ };
+ cocoapods-stats = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sfcwq2vq6cadj1811jdjys3d28pmk2r2a83px6w94rz6i19axid";
+ type = "gem";
+ };
+ version = "1.0.0";
+ };
+ cocoapods-trunk = {
+ dependencies = ["nap" "netrc"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0shxr64j7f50yglp5l90vr1ba5p9pkk0a3b8apkbci2lmq5kq60b";
+ type = "gem";
+ };
+ version = "1.3.0";
+ };
+ cocoapods-try = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gf2zjmcjhh9psq15yfy82wz5jnlihf5bcw79f8hlv4cnqyspncj";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ colored2 = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0jlbqa9q4mvrm73aw9mxh23ygzbjiqwisl32d8szfb5fxvbjng5i";
+ type = "gem";
+ };
+ version = "3.1.2";
+ };
+ concurrent-ruby = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "183lszf5gx84kcpb779v6a2y0mx9sssy8dgppng1z9a505nj1qcf";
+ type = "gem";
+ };
+ version = "1.0.5";
+ };
+ escape = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sa1xkfc9jvkwyw1jbz3jhkq0ms1zrvswi6mmfiwcisg5fp497z4";
+ type = "gem";
+ };
+ version = "0.0.4";
+ };
+ fourflusher = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1dzmkxyzrk475c1yk5zddwhhj28b6fnj4jkk1h5gr1c2mrar72d5";
+ type = "gem";
+ };
+ version = "2.0.1";
+ };
+ fuzzy_match = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "19gw1ifsgfrv7xdi6n61658vffgm1867f4xdqfswb2b5h6alzpmm";
+ type = "gem";
+ };
+ version = "2.0.4";
+ };
+ gh_inspector = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1lxvp8xpjd2cazzcp90phy567spp4v41bnk9awgx8absndv70k1x";
+ type = "gem";
+ };
+ version = "1.0.3";
+ };
+ i18n = {
+ dependencies = ["concurrent-ruby"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "032wbfixfpwa67c893x5sn02ab0928vfqfshcs02bwkkxpqy9x8s";
+ type = "gem";
+ };
+ version = "0.9.1";
+ };
+ minitest = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "05521clw19lrksqgvg2kmm025pvdhdaniix52vmbychrn2jm7kz2";
+ type = "gem";
+ };
+ version = "5.10.3";
+ };
+ molinillo = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "19h1nks0x2ljwyijs2rd1f9sh05j8xqvjaqk1rslp5nyy6h4a758";
+ type = "gem";
+ };
+ version = "0.5.7";
+ };
+ nanaimo = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0z6rbji02x75vm5jw4hbpp75khp4z5yfgbaz1h9l8aa00hqf0fxd";
+ type = "gem";
+ };
+ version = "0.2.3";
+ };
+ nap = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0xm5xssxk5s03wjarpipfm39qmgxsalb46v1prsis14x1xk935ll";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ netrc = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0gzfmcywp1da8nzfqsql2zqi648mfnx6qwkig3cv36n9m0yy676y";
+ type = "gem";
+ };
+ version = "0.11.0";
+ };
+ ruby-macho = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1i9vkz3ki3yvps4z1hca2q2axniq95x4yypnc22p9pcfjdfrbrq6";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ thread_safe = {
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
+ type = "gem";
+ };
+ version = "0.3.6";
+ };
+ tzinfo = {
+ dependencies = ["thread_safe"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "09dpbrih054mn42flbbcdpzk2727mzfvjrgqb12zdafhx7p9rrzp";
+ type = "gem";
+ };
+ version = "1.2.4";
+ };
+ xcodeproj = {
+ dependencies = ["CFPropertyList" "claide" "colored2" "nanaimo"];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gvnd5ixa4wbn1cpc6jp6i9z0dxhcwlxny47irzbr6zr8wpj3ww7";
+ type = "gem";
+ };
+ version = "1.5.3";
+ };
+} \ No newline at end of file
diff --git a/pkgs/development/mobile/cocoapods/update b/pkgs/development/mobile/cocoapods/update
new file mode 100755
index 000000000000..58a7bd4a4539
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/update
@@ -0,0 +1,10 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -i bash -p bash ruby bundler bundix
+
+rm Gemfile.lock
+bundler install
+bundix
+
+if [ "clean" == "$1" ]; then
+ rm -rf ~/.gem
+fi