git.iko.soy/typeable/nixpkgs
on master help sign in
cocoapods: init at 1.3.1 (#32583)

* cocoapods: init at 1.3.1 * requires xcode

commitf5b3f9962e7c9e1f2413bc591231f004d2481941 authorPeter Romfeld <peter.romfeld.hk@gmail.com> dateSun 22 Apr 2018, 03:37 (9 years ago) parentaeff424
6 files changed+339
pkgs/development/mobile/cocoapods/Gemfile+2 pkgs/development/mobile/cocoapods/Gemfile.lock+74 pkgs/development/mobile/cocoapods/default.nix+17 pkgs/development/mobile/cocoapods/gemset.nix+234 pkgs/development/mobile/cocoapods/update+10 pkgs/top-level/all-packages.nix+2
pkgs/development/mobile/cocoapods/Gemfilenew file+2
@@ -0,0 +1,2 @@
1+source 'https://rubygems.org'
2+gem 'cocoapods'
pkgs/development/mobile/cocoapods/Gemfile.locknew file+74
@@ -0,0 +1,74 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ CFPropertyList (2.3.6)
5+ activesupport (4.2.10)
6+ i18n (~> 0.7)
7+ minitest (~> 5.1)
8+ thread_safe (~> 0.3, >= 0.3.4)
9+ tzinfo (~> 1.1)
10+ claide (1.0.2)
11+ cocoapods (1.3.1)
12+ activesupport (>= 4.0.2, < 5)
13+ claide (>= 1.0.2, < 2.0)
14+ cocoapods-core (= 1.3.1)
15+ cocoapods-deintegrate (>= 1.0.1, < 2.0)
16+ cocoapods-downloader (>= 1.1.3, < 2.0)
17+ cocoapods-plugins (>= 1.0.0, < 2.0)
18+ cocoapods-search (>= 1.0.0, < 2.0)
19+ cocoapods-stats (>= 1.0.0, < 2.0)
20+ cocoapods-trunk (>= 1.2.0, < 2.0)
21+ cocoapods-try (>= 1.1.0, < 2.0)
22+ colored2 (~> 3.1)
23+ escape (~> 0.0.4)
24+ fourflusher (~> 2.0.1)
25+ gh_inspector (~> 1.0)
26+ molinillo (~> 0.5.7)
27+ nap (~> 1.0)
28+ ruby-macho (~> 1.1)
29+ xcodeproj (>= 1.5.1, < 2.0)
30+ cocoapods-core (1.3.1)
31+ activesupport (>= 4.0.2, < 6)
32+ fuzzy_match (~> 2.0.4)
33+ nap (~> 1.0)
34+ cocoapods-deintegrate (1.0.1)
35+ cocoapods-downloader (1.1.3)
36+ cocoapods-plugins (1.0.0)
37+ nap
38+ cocoapods-search (1.0.0)
39+ cocoapods-stats (1.0.0)
40+ cocoapods-trunk (1.3.0)
41+ nap (>= 0.8, < 2.0)
42+ netrc (~> 0.11)
43+ cocoapods-try (1.1.0)
44+ colored2 (3.1.2)
45+ concurrent-ruby (1.0.5)
46+ escape (0.0.4)
47+ fourflusher (2.0.1)
48+ fuzzy_match (2.0.4)
49+ gh_inspector (1.0.3)
50+ i18n (0.9.1)
51+ concurrent-ruby (~> 1.0)
52+ minitest (5.10.3)
53+ molinillo (0.5.7)
54+ nanaimo (0.2.3)
55+ nap (1.1.0)
56+ netrc (0.11.0)
57+ ruby-macho (1.1.0)
58+ thread_safe (0.3.6)
59+ tzinfo (1.2.4)
60+ thread_safe (~> 0.1)
61+ xcodeproj (1.5.3)
62+ CFPropertyList (~> 2.3.3)
63+ claide (>= 1.0.2, < 2.0)
64+ colored2 (~> 3.1)
65+ nanaimo (~> 0.2.3)
66+
67+PLATFORMS
68+ ruby
69+
70+DEPENDENCIES
71+ cocoapods
72+
73+BUNDLED WITH
74+ 1.14.6
pkgs/development/mobile/cocoapods/default.nixnew file+17
@@ -0,0 +1,17 @@
1+{ lib, bundlerEnv, ruby }:
2+
3+bundlerEnv rec {
4+ inherit ruby;
5+ pname = "cocoapods";
6+ gemdir = ./.;
7+
8+ meta = with lib; {
9+ description = "CocoaPods manages dependencies for your Xcode projects.";
10+ homepage = https://github.com/CocoaPods/CocoaPods;
11+ license = licenses.mit;
12+ platforms = platforms.darwin;
13+ maintainers = with maintainers; [
14+ peterromfeldhk
15+ ];
16+ };
17+}
pkgs/development/mobile/cocoapods/gemset.nixnew file+234
@@ -0,0 +1,234 @@
1+{
2+ activesupport = {
3+ dependencies = ["i18n" "minitest" "thread_safe" "tzinfo"];
4+ source = {
5+ remotes = ["https://rubygems.org"];
6+ sha256 = "0s12j8vl8vrxfngkdlz9g8bpz9akq1z42d57mx5r537b2pji8nr7";
7+ type = "gem";
8+ };
9+ version = "4.2.10";
10+ };
11+ CFPropertyList = {
12+ source = {
13+ remotes = ["https://rubygems.org"];
14+ sha256 = "0hadm41xr1fq3qp74jd9l5q8l0j9083rgklgzsilllwaav7qrrid";
15+ type = "gem";
16+ };
17+ version = "2.3.6";
18+ };
19+ claide = {
20+ source = {
21+ remotes = ["https://rubygems.org"];
22+ sha256 = "0az54rp691hc42yl1xyix2cxv58byhaaf4gxbpghvvq29l476rzc";
23+ type = "gem";
24+ };
25+ version = "1.0.2";
26+ };
27+ cocoapods = {
28+ 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"];
29+ source = {
30+ remotes = ["https://rubygems.org"];
31+ sha256 = "050b7795jc6802wcpcgi702qkgy8vjidgq6c6mbx2alrq7l0n8q7";
32+ type = "gem";
33+ };
34+ version = "1.3.1";
35+ };
36+ cocoapods-core = {
37+ dependencies = ["activesupport" "fuzzy_match" "nap"];
38+ source = {
39+ remotes = ["https://rubygems.org"];
40+ sha256 = "0pr42lpqs6q51gnnfxmgmbx7sw0dwyawylssj588izj8av18rhpy";
41+ type = "gem";
42+ };
43+ version = "1.3.1";
44+ };
45+ cocoapods-deintegrate = {
46+ source = {
47+ remotes = ["https://rubygems.org"];
48+ sha256 = "1x4hxlip6zkrs1vcmw7sh45ayn5pxvsg782iifnmgjwn2pyskj7l";
49+ type = "gem";
50+ };
51+ version = "1.0.1";
52+ };
53+ cocoapods-downloader = {
54+ source = {
55+ remotes = ["https://rubygems.org"];
56+ sha256 = "1664qg1wml70slcfklpnyq5ixp145f6iyn3c6pcqkqc64i1bsg87";
57+ type = "gem";
58+ };
59+ version = "1.1.3";
60+ };
61+ cocoapods-plugins = {
62+ dependencies = ["nap"];
63+ source = {
64+ remotes = ["https://rubygems.org"];
65+ sha256 = "16na82sfyc8801qs1n22nwq486s4j7yj6rj7fcp8cbxmj371fpbj";
66+ type = "gem";
67+ };
68+ version = "1.0.0";
69+ };
70+ cocoapods-search = {
71+ source = {
72+ remotes = ["https://rubygems.org"];
73+ sha256 = "02wmy5rbjk29c65zn62bffxv30qs11slql23qx65snkm0vd93mn6";
74+ type = "gem";
75+ };
76+ version = "1.0.0";
77+ };
78+ cocoapods-stats = {
79+ source = {
80+ remotes = ["https://rubygems.org"];
81+ sha256 = "0sfcwq2vq6cadj1811jdjys3d28pmk2r2a83px6w94rz6i19axid";
82+ type = "gem";
83+ };
84+ version = "1.0.0";
85+ };
86+ cocoapods-trunk = {
87+ dependencies = ["nap" "netrc"];
88+ source = {
89+ remotes = ["https://rubygems.org"];
90+ sha256 = "0shxr64j7f50yglp5l90vr1ba5p9pkk0a3b8apkbci2lmq5kq60b";
91+ type = "gem";
92+ };
93+ version = "1.3.0";
94+ };
95+ cocoapods-try = {
96+ source = {
97+ remotes = ["https://rubygems.org"];
98+ sha256 = "1gf2zjmcjhh9psq15yfy82wz5jnlihf5bcw79f8hlv4cnqyspncj";
99+ type = "gem";
100+ };
101+ version = "1.1.0";
102+ };
103+ colored2 = {
104+ source = {
105+ remotes = ["https://rubygems.org"];
106+ sha256 = "0jlbqa9q4mvrm73aw9mxh23ygzbjiqwisl32d8szfb5fxvbjng5i";
107+ type = "gem";
108+ };
109+ version = "3.1.2";
110+ };
111+ concurrent-ruby = {
112+ source = {
113+ remotes = ["https://rubygems.org"];
114+ sha256 = "183lszf5gx84kcpb779v6a2y0mx9sssy8dgppng1z9a505nj1qcf";
115+ type = "gem";
116+ };
117+ version = "1.0.5";
118+ };
119+ escape = {
120+ source = {
121+ remotes = ["https://rubygems.org"];
122+ sha256 = "0sa1xkfc9jvkwyw1jbz3jhkq0ms1zrvswi6mmfiwcisg5fp497z4";
123+ type = "gem";
124+ };
125+ version = "0.0.4";
126+ };
127+ fourflusher = {
128+ source = {
129+ remotes = ["https://rubygems.org"];
130+ sha256 = "1dzmkxyzrk475c1yk5zddwhhj28b6fnj4jkk1h5gr1c2mrar72d5";
131+ type = "gem";
132+ };
133+ version = "2.0.1";
134+ };
135+ fuzzy_match = {
136+ source = {
137+ remotes = ["https://rubygems.org"];
138+ sha256 = "19gw1ifsgfrv7xdi6n61658vffgm1867f4xdqfswb2b5h6alzpmm";
139+ type = "gem";
140+ };
141+ version = "2.0.4";
142+ };
143+ gh_inspector = {
144+ source = {
145+ remotes = ["https://rubygems.org"];
146+ sha256 = "1lxvp8xpjd2cazzcp90phy567spp4v41bnk9awgx8absndv70k1x";
147+ type = "gem";
148+ };
149+ version = "1.0.3";
150+ };
151+ i18n = {
152+ dependencies = ["concurrent-ruby"];
153+ source = {
154+ remotes = ["https://rubygems.org"];
155+ sha256 = "032wbfixfpwa67c893x5sn02ab0928vfqfshcs02bwkkxpqy9x8s";
156+ type = "gem";
157+ };
158+ version = "0.9.1";
159+ };
160+ minitest = {
161+ source = {
162+ remotes = ["https://rubygems.org"];
163+ sha256 = "05521clw19lrksqgvg2kmm025pvdhdaniix52vmbychrn2jm7kz2";
164+ type = "gem";
165+ };
166+ version = "5.10.3";
167+ };
168+ molinillo = {
169+ source = {
170+ remotes = ["https://rubygems.org"];
171+ sha256 = "19h1nks0x2ljwyijs2rd1f9sh05j8xqvjaqk1rslp5nyy6h4a758";
172+ type = "gem";
173+ };
174+ version = "0.5.7";
175+ };
176+ nanaimo = {
177+ source = {
178+ remotes = ["https://rubygems.org"];
179+ sha256 = "0z6rbji02x75vm5jw4hbpp75khp4z5yfgbaz1h9l8aa00hqf0fxd";
180+ type = "gem";
181+ };
182+ version = "0.2.3";
183+ };
184+ nap = {
185+ source = {
186+ remotes = ["https://rubygems.org"];
187+ sha256 = "0xm5xssxk5s03wjarpipfm39qmgxsalb46v1prsis14x1xk935ll";
188+ type = "gem";
189+ };
190+ version = "1.1.0";
191+ };
192+ netrc = {
193+ source = {
194+ remotes = ["https://rubygems.org"];
195+ sha256 = "0gzfmcywp1da8nzfqsql2zqi648mfnx6qwkig3cv36n9m0yy676y";
196+ type = "gem";
197+ };
198+ version = "0.11.0";
199+ };
200+ ruby-macho = {
201+ source = {
202+ remotes = ["https://rubygems.org"];
203+ sha256 = "1i9vkz3ki3yvps4z1hca2q2axniq95x4yypnc22p9pcfjdfrbrq6";
204+ type = "gem";
205+ };
206+ version = "1.1.0";
207+ };
208+ thread_safe = {
209+ source = {
210+ remotes = ["https://rubygems.org"];
211+ sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
212+ type = "gem";
213+ };
214+ version = "0.3.6";
215+ };
216+ tzinfo = {
217+ dependencies = ["thread_safe"];
218+ source = {
219+ remotes = ["https://rubygems.org"];
220+ sha256 = "09dpbrih054mn42flbbcdpzk2727mzfvjrgqb12zdafhx7p9rrzp";
221+ type = "gem";
222+ };
223+ version = "1.2.4";
224+ };
225+ xcodeproj = {
226+ dependencies = ["CFPropertyList" "claide" "colored2" "nanaimo"];
227+ source = {
228+ remotes = ["https://rubygems.org"];
229+ sha256 = "1gvnd5ixa4wbn1cpc6jp6i9z0dxhcwlxny47irzbr6zr8wpj3ww7";
230+ type = "gem";
231+ };
232+ version = "1.5.3";
233+ };
234+}
pkgs/development/mobile/cocoapods/updatenew file+10
@@ -0,0 +1,10 @@
1+#!/usr/bin/env nix-shell
2+#! nix-shell -i bash -p bash ruby bundler bundix
3+
4+rm Gemfile.lock
5+bundler install
6+bundix
7+
8+if [ "clean" == "$1" ]; then
9+ rm -rf ~/.gem
10+fi
pkgs/top-level/all-packages.nix+2
@@ -1779,6 +1779,8 @@ with pkgs;
17791779
17801780 cloud-utils = callPackage ../tools/misc/cloud-utils { };
17811781
1782+ cocoapods = callPackage ../development/mobile/cocoapods { };
1783+
17821784 compass = callPackage ../development/tools/compass { };
17831785
17841786 conda = callPackage ../tools/package-management/conda { };