diff options
Diffstat (limited to 'nixops/modules/websites/piedsjaloux')
-rw-r--r-- | nixops/modules/websites/piedsjaloux/default.nix | 21 | ||||
-rw-r--r-- | nixops/modules/websites/piedsjaloux/php-packages.nix | 1009 | ||||
-rw-r--r-- | nixops/modules/websites/piedsjaloux/piedsjaloux.json | 14 | ||||
-rw-r--r-- | nixops/modules/websites/piedsjaloux/piedsjaloux.nix | 284 |
4 files changed, 142 insertions, 1186 deletions
diff --git a/nixops/modules/websites/piedsjaloux/default.nix b/nixops/modules/websites/piedsjaloux/default.nix index 9f9697d..2a1271b 100644 --- a/nixops/modules/websites/piedsjaloux/default.nix +++ b/nixops/modules/websites/piedsjaloux/default.nix | |||
@@ -1,14 +1,15 @@ | |||
1 | { lib, pkgs, config, myconfig, mylibs, ... }: | 1 | { lib, pkgs, config, myconfig, mylibs, ... }: |
2 | let | 2 | let |
3 | piedsjaloux = pkgs.callPackage ./piedsjaloux.nix { inherit (mylibs) fetchedGitPrivate; }; | 3 | piedsjaloux_dev = pkgs.callPackage ./piedsjaloux.nix { |
4 | piedsjaloux_dev = piedsjaloux { | 4 | inherit (pkgs.private.webapps) piedsjaloux; |
5 | config = myconfig.env.websites.piedsjaloux.integration; | 5 | config = myconfig.env.websites.piedsjaloux.integration; |
6 | }; | 6 | }; |
7 | piedsjaloux_prod = piedsjaloux { | 7 | piedsjaloux_prod = pkgs.callPackage ./piedsjaloux.nix { |
8 | config = myconfig.env.websites.piedsjaloux.production; | 8 | inherit (pkgs.private.webapps) piedsjaloux; |
9 | }; | 9 | config = myconfig.env.websites.piedsjaloux.production; |
10 | }; | ||
10 | 11 | ||
11 | cfg = config.services.myWebsites.PiedsJaloux; | 12 | cfg = config.services.myWebsites.PiedsJaloux; |
12 | in { | 13 | in { |
13 | options.services.myWebsites.PiedsJaloux = { | 14 | options.services.myWebsites.PiedsJaloux = { |
14 | production = { | 15 | production = { |
@@ -37,7 +38,7 @@ in { | |||
37 | system.activationScripts.piedsjaloux_prod = piedsjaloux_prod.activationScript; | 38 | system.activationScripts.piedsjaloux_prod = piedsjaloux_prod.activationScript; |
38 | system.extraSystemBuilderCmds = '' | 39 | system.extraSystemBuilderCmds = '' |
39 | mkdir -p $out/webapps | 40 | mkdir -p $out/webapps |
40 | ln -s ${piedsjaloux_prod.webRoot} $out/webapps/${piedsjaloux_prod.apache.webappName} | 41 | ln -s ${piedsjaloux_prod.app.webRoot} $out/webapps/${piedsjaloux_prod.apache.webappName} |
41 | ''; | 42 | ''; |
42 | services.myWebsites.production.modules = piedsjaloux_prod.apache.modules; | 43 | services.myWebsites.production.modules = piedsjaloux_prod.apache.modules; |
43 | services.myWebsites.production.vhostConfs.piedsjaloux = { | 44 | services.myWebsites.production.vhostConfs.piedsjaloux = { |
@@ -56,7 +57,7 @@ in { | |||
56 | system.activationScripts.piedsjaloux_dev = piedsjaloux_dev.activationScript; | 57 | system.activationScripts.piedsjaloux_dev = piedsjaloux_dev.activationScript; |
57 | system.extraSystemBuilderCmds = '' | 58 | system.extraSystemBuilderCmds = '' |
58 | mkdir -p $out/webapps | 59 | mkdir -p $out/webapps |
59 | ln -s ${piedsjaloux_dev.webRoot} $out/webapps/${piedsjaloux_dev.apache.webappName} | 60 | ln -s ${piedsjaloux_dev.app.webRoot} $out/webapps/${piedsjaloux_dev.apache.webappName} |
60 | ''; | 61 | ''; |
61 | services.myWebsites.integration.modules = piedsjaloux_dev.apache.modules; | 62 | services.myWebsites.integration.modules = piedsjaloux_dev.apache.modules; |
62 | services.myWebsites.integration.vhostConfs.piedsjaloux = { | 63 | services.myWebsites.integration.vhostConfs.piedsjaloux = { |
diff --git a/nixops/modules/websites/piedsjaloux/php-packages.nix b/nixops/modules/websites/piedsjaloux/php-packages.nix deleted file mode 100644 index 49c5bd2..0000000 --- a/nixops/modules/websites/piedsjaloux/php-packages.nix +++ /dev/null | |||
@@ -1,1009 +0,0 @@ | |||
1 | # Generated with composer2nix and adapted to return only the list of | ||
2 | # packages | ||
3 | { composerEnv, fetchurl, fetchgit ? null }: | ||
4 | { | ||
5 | packages = { | ||
6 | "behat/transliterator" = { | ||
7 | targetDir = ""; | ||
8 | src = composerEnv.buildZipPackage { | ||
9 | name = "behat-transliterator-826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c"; | ||
10 | src = fetchurl { | ||
11 | url = https://api.github.com/repos/Behat/Transliterator/zipball/826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c; | ||
12 | sha256 = "1mgc9azx79fkrxahji3xwbgqhlcnvh3xk6llqdvhjb7vgzj4bqq0"; | ||
13 | }; | ||
14 | }; | ||
15 | }; | ||
16 | "components/bootstrap" = { | ||
17 | targetDir = ""; | ||
18 | src = composerEnv.buildZipPackage { | ||
19 | name = "components-bootstrap-5d60b2efd3159e1a9e203901849b3493c5aac61f"; | ||
20 | src = fetchurl { | ||
21 | url = https://api.github.com/repos/components/bootstrap/zipball/5d60b2efd3159e1a9e203901849b3493c5aac61f; | ||
22 | sha256 = "0jdyxl86dr2lf8az1vby84i7kdn1qcqkp8fy60rs18gav0aqp4fg"; | ||
23 | }; | ||
24 | }; | ||
25 | }; | ||
26 | "components/jquery" = { | ||
27 | targetDir = ""; | ||
28 | src = composerEnv.buildZipPackage { | ||
29 | name = "components-jquery-459648cda77875519c5da3ae1dd0ed5d170aa649"; | ||
30 | src = fetchurl { | ||
31 | url = https://api.github.com/repos/components/jquery/zipball/459648cda77875519c5da3ae1dd0ed5d170aa649; | ||
32 | sha256 = "04jv8yifhwx0cpkw3y3ng0bs2dv77pzrdd640p59rjxwba6r1lbb"; | ||
33 | }; | ||
34 | }; | ||
35 | }; | ||
36 | "components/jqueryui" = { | ||
37 | targetDir = ""; | ||
38 | src = composerEnv.buildZipPackage { | ||
39 | name = "components-jqueryui-c34f8dbf3ba57b3784b93f26119f436c0e8288e1"; | ||
40 | src = fetchurl { | ||
41 | url = https://api.github.com/repos/components/jqueryui/zipball/c34f8dbf3ba57b3784b93f26119f436c0e8288e1; | ||
42 | sha256 = "00nkg6z8g6l3jysyzsfmfxhxqcdsd3jfqib28j8kn2frzx508xv9"; | ||
43 | }; | ||
44 | }; | ||
45 | }; | ||
46 | "composer/ca-bundle" = { | ||
47 | targetDir = ""; | ||
48 | src = composerEnv.buildZipPackage { | ||
49 | name = "composer-ca-bundle-8afa52cd417f4ec417b4bfe86b68106538a87660"; | ||
50 | src = fetchurl { | ||
51 | url = https://api.github.com/repos/composer/ca-bundle/zipball/8afa52cd417f4ec417b4bfe86b68106538a87660; | ||
52 | sha256 = "18b0gq29frjf4yhl4sl3i3zbz6zr3qjgsjb8cjdhz65vpb50581p"; | ||
53 | }; | ||
54 | }; | ||
55 | }; | ||
56 | "container-interop/container-interop" = { | ||
57 | targetDir = ""; | ||
58 | src = composerEnv.buildZipPackage { | ||
59 | name = "container-interop-container-interop-79cbf1341c22ec75643d841642dd5d6acd83bdb8"; | ||
60 | src = fetchurl { | ||
61 | url = https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8; | ||
62 | sha256 = "1pxm461g5flcq50yabr01nw8w17n3g7klpman9ps3im4z0604m52"; | ||
63 | }; | ||
64 | }; | ||
65 | }; | ||
66 | "dmishh/settings-bundle" = { | ||
67 | targetDir = ""; | ||
68 | src = composerEnv.buildZipPackage { | ||
69 | name = "dmishh-settings-bundle-0ee48b015691694a8dcbd3ee654d33386e7bf478"; | ||
70 | src = fetchurl { | ||
71 | url = https://api.github.com/repos/dmishh/SettingsBundle/zipball/0ee48b015691694a8dcbd3ee654d33386e7bf478; | ||
72 | sha256 = "0m2fw5shvnkqlz0nm27ggpmkipfh377y1hjsw343zv1nn72nxfqf"; | ||
73 | }; | ||
74 | }; | ||
75 | }; | ||
76 | "doctrine/annotations" = { | ||
77 | targetDir = ""; | ||
78 | src = composerEnv.buildZipPackage { | ||
79 | name = "doctrine-annotations-c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5"; | ||
80 | src = fetchurl { | ||
81 | url = https://api.github.com/repos/doctrine/annotations/zipball/c7f2050c68a9ab0bdb0f98567ec08d80ea7d24d5; | ||
82 | sha256 = "0b80xpqd3j99xgm0c41kbgy0k6knrfnd29223c93295sb12112g7"; | ||
83 | }; | ||
84 | }; | ||
85 | }; | ||
86 | "doctrine/cache" = { | ||
87 | targetDir = ""; | ||
88 | src = composerEnv.buildZipPackage { | ||
89 | name = "doctrine-cache-d768d58baee9a4862ca783840eca1b9add7a7f57"; | ||
90 | src = fetchurl { | ||
91 | url = https://api.github.com/repos/doctrine/cache/zipball/d768d58baee9a4862ca783840eca1b9add7a7f57; | ||
92 | sha256 = "1kljhw4gqp12iz88h6ymsrlfir2fis7icn6dffyizfc1csyb4s2i"; | ||
93 | }; | ||
94 | }; | ||
95 | }; | ||
96 | "doctrine/collections" = { | ||
97 | targetDir = ""; | ||
98 | src = composerEnv.buildZipPackage { | ||
99 | name = "doctrine-collections-a01ee38fcd999f34d9bfbcee59dbda5105449cbf"; | ||
100 | src = fetchurl { | ||
101 | url = https://api.github.com/repos/doctrine/collections/zipball/a01ee38fcd999f34d9bfbcee59dbda5105449cbf; | ||
102 | sha256 = "0d36zc21ka0pdac9xpkxsgf5zzw9gp0m9lk3r3xs5y70j0lkkkis"; | ||
103 | }; | ||
104 | }; | ||
105 | }; | ||
106 | "doctrine/common" = { | ||
107 | targetDir = ""; | ||
108 | src = composerEnv.buildZipPackage { | ||
109 | name = "doctrine-common-30e33f60f64deec87df728c02b107f82cdafad9d"; | ||
110 | src = fetchurl { | ||
111 | url = https://api.github.com/repos/doctrine/common/zipball/30e33f60f64deec87df728c02b107f82cdafad9d; | ||
112 | sha256 = "0s4vv14ibyx62a9aj3wn5cs2bbxd72fajmfmi8qb5l11gx0375na"; | ||
113 | }; | ||
114 | }; | ||
115 | }; | ||
116 | "doctrine/dbal" = { | ||
117 | targetDir = ""; | ||
118 | src = composerEnv.buildZipPackage { | ||
119 | name = "doctrine-dbal-22800bd651c1d8d2a9719e2a3dc46d5108ebfcc9"; | ||
120 | src = fetchurl { | ||
121 | url = https://api.github.com/repos/doctrine/dbal/zipball/22800bd651c1d8d2a9719e2a3dc46d5108ebfcc9; | ||
122 | sha256 = "0kbahs699jd8pxf512dgg7arv49dc7qzi3mx8snxqm4h15n5brnj"; | ||
123 | }; | ||
124 | }; | ||
125 | }; | ||
126 | "doctrine/doctrine-bundle" = { | ||
127 | targetDir = ""; | ||
128 | src = composerEnv.buildZipPackage { | ||
129 | name = "doctrine-doctrine-bundle-82d2c63cd09acbde2332f55d9aa7b28aefe4983d"; | ||
130 | src = fetchurl { | ||
131 | url = https://api.github.com/repos/doctrine/DoctrineBundle/zipball/82d2c63cd09acbde2332f55d9aa7b28aefe4983d; | ||
132 | sha256 = "0gzrigv360rp50yxpwidbkf8vlagym0w1if010yz5xcfrz37cpn3"; | ||
133 | }; | ||
134 | }; | ||
135 | }; | ||
136 | "doctrine/doctrine-cache-bundle" = { | ||
137 | targetDir = ""; | ||
138 | src = composerEnv.buildZipPackage { | ||
139 | name = "doctrine-doctrine-cache-bundle-5514c90d9fb595e1095e6d66ebb98ce9ef049927"; | ||
140 | src = fetchurl { | ||
141 | url = https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/5514c90d9fb595e1095e6d66ebb98ce9ef049927; | ||
142 | sha256 = "04njrfhw4fc2ifacd9h0wd9i14l7ycv3hanbqrw5ilsai02j6asa"; | ||
143 | }; | ||
144 | }; | ||
145 | }; | ||
146 | "doctrine/doctrine-migrations-bundle" = { | ||
147 | targetDir = ""; | ||
148 | src = composerEnv.buildZipPackage { | ||
149 | name = "doctrine-doctrine-migrations-bundle-49fa399181db4bf4f9f725126bd1cb65c4398dce"; | ||
150 | src = fetchurl { | ||
151 | url = https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/49fa399181db4bf4f9f725126bd1cb65c4398dce; | ||
152 | sha256 = "1a73xjhjrjlvkh8d253kfc2rbxd2h4hwafhv5078dy7rg6x9blyn"; | ||
153 | }; | ||
154 | }; | ||
155 | }; | ||
156 | "doctrine/event-manager" = { | ||
157 | targetDir = ""; | ||
158 | src = composerEnv.buildZipPackage { | ||
159 | name = "doctrine-event-manager-a520bc093a0170feeb6b14e9d83f3a14452e64b3"; | ||
160 | src = fetchurl { | ||
161 | url = https://api.github.com/repos/doctrine/event-manager/zipball/a520bc093a0170feeb6b14e9d83f3a14452e64b3; | ||
162 | sha256 = "165cxvw4idqj01l63nya2whpdb3fz6ld54rx198b71bzwfrydl88"; | ||
163 | }; | ||
164 | }; | ||
165 | }; | ||
166 | "doctrine/inflector" = { | ||
167 | targetDir = ""; | ||
168 | src = composerEnv.buildZipPackage { | ||
169 | name = "doctrine-inflector-5527a48b7313d15261292c149e55e26eae771b0a"; | ||
170 | src = fetchurl { | ||
171 | url = https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a; | ||
172 | sha256 = "0ng6vlwjr8h6hqwa32ynykz1mhlfsff5hirjidlk086ab6njppa5"; | ||
173 | }; | ||
174 | }; | ||
175 | }; | ||
176 | "doctrine/instantiator" = { | ||
177 | targetDir = ""; | ||
178 | src = composerEnv.buildZipPackage { | ||
179 | name = "doctrine-instantiator-185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"; | ||
180 | src = fetchurl { | ||
181 | url = https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda; | ||
182 | sha256 = "1mah9a6mb30qad1zryzjain2dxw29d8h4bjkbcs3srpm3p891msy"; | ||
183 | }; | ||
184 | }; | ||
185 | }; | ||
186 | "doctrine/lexer" = { | ||
187 | targetDir = ""; | ||
188 | src = composerEnv.buildZipPackage { | ||
189 | name = "doctrine-lexer-83893c552fd2045dd78aef794c31e694c37c0b8c"; | ||
190 | src = fetchurl { | ||
191 | url = https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c; | ||
192 | sha256 = "0cyh3vwcl163cx1vrcwmhlh5jg9h47xwiqgzc6rwscxw0ppd1v74"; | ||
193 | }; | ||
194 | }; | ||
195 | }; | ||
196 | "doctrine/migrations" = { | ||
197 | targetDir = ""; | ||
198 | src = composerEnv.buildZipPackage { | ||
199 | name = "doctrine-migrations-215438c0eef3e5f9b7da7d09c6b90756071b43e6"; | ||
200 | src = fetchurl { | ||
201 | url = https://api.github.com/repos/doctrine/migrations/zipball/215438c0eef3e5f9b7da7d09c6b90756071b43e6; | ||
202 | sha256 = "0k6sgw65vji9rgib10mq2m634m41a67inspkrcw4qixig2lnb3ld"; | ||
203 | }; | ||
204 | }; | ||
205 | }; | ||
206 | "doctrine/orm" = { | ||
207 | targetDir = ""; | ||
208 | src = composerEnv.buildZipPackage { | ||
209 | name = "doctrine-orm-434820973cadf2da2d66e7184be370084cc32ca8"; | ||
210 | src = fetchurl { | ||
211 | url = https://api.github.com/repos/doctrine/orm/zipball/434820973cadf2da2d66e7184be370084cc32ca8; | ||
212 | sha256 = "114fyq8kaf5qzfkp8sdygqflf3z94va1cs5c3scycfpg9cmi4gls"; | ||
213 | }; | ||
214 | }; | ||
215 | }; | ||
216 | "doctrine/persistence" = { | ||
217 | targetDir = ""; | ||
218 | src = composerEnv.buildZipPackage { | ||
219 | name = "doctrine-persistence-c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38"; | ||
220 | src = fetchurl { | ||
221 | url = https://api.github.com/repos/doctrine/persistence/zipball/c0f1c17602afc18b4cbd8e1c8125f264c9cf7d38; | ||
222 | sha256 = "0xdm5n38rjas1mlyxc15sg1as5h7y012mdb0j9lr6cvphgnaxxv7"; | ||
223 | }; | ||
224 | }; | ||
225 | }; | ||
226 | "doctrine/reflection" = { | ||
227 | targetDir = ""; | ||
228 | src = composerEnv.buildZipPackage { | ||
229 | name = "doctrine-reflection-02538d3f95e88eb397a5f86274deb2c6175c2ab6"; | ||
230 | src = fetchurl { | ||
231 | url = https://api.github.com/repos/doctrine/reflection/zipball/02538d3f95e88eb397a5f86274deb2c6175c2ab6; | ||
232 | sha256 = "12n9zik4lxb9lx1jf0nbvg9vl9nv958a7z1yjx48scfxd1d1sxjy"; | ||
233 | }; | ||
234 | }; | ||
235 | }; | ||
236 | "eko/feedbundle" = { | ||
237 | targetDir = ""; | ||
238 | src = composerEnv.buildZipPackage { | ||
239 | name = "eko-feedbundle-d4e626616d9ccf6527212d3bdda15f9af3838e4f"; | ||
240 | src = fetchurl { | ||
241 | url = https://api.github.com/repos/eko/FeedBundle/zipball/d4e626616d9ccf6527212d3bdda15f9af3838e4f; | ||
242 | sha256 = "145f4mq2bpsdayaiqmgz1asmjx2is4v327h2ny2wp03knnkjvnfq"; | ||
243 | }; | ||
244 | }; | ||
245 | }; | ||
246 | "fig/link-util" = { | ||
247 | targetDir = ""; | ||
248 | src = composerEnv.buildZipPackage { | ||
249 | name = "fig-link-util-1a07821801a148be4add11ab0603e4af55a72fac"; | ||
250 | src = fetchurl { | ||
251 | url = https://api.github.com/repos/php-fig/link-util/zipball/1a07821801a148be4add11ab0603e4af55a72fac; | ||
252 | sha256 = "0ky1pq4a17br5zvcychjghgwr6wpkgp409hdv0ljdk3ks90w5w64"; | ||
253 | }; | ||
254 | }; | ||
255 | }; | ||
256 | "gedmo/doctrine-extensions" = { | ||
257 | targetDir = ""; | ||
258 | src = composerEnv.buildZipPackage { | ||
259 | name = "gedmo-doctrine-extensions-87c78ff9fd4b90460386f753d95622f6fbbfcb27"; | ||
260 | src = fetchurl { | ||
261 | url = https://api.github.com/repos/Atlantic18/DoctrineExtensions/zipball/87c78ff9fd4b90460386f753d95622f6fbbfcb27; | ||
262 | sha256 = "0jfg0a19lhdv5b3c032ghknxhvc1f0x2n7fcwp47bm1rbz222q0z"; | ||
263 | }; | ||
264 | }; | ||
265 | }; | ||
266 | "gregwar/captcha" = { | ||
267 | targetDir = ""; | ||
268 | src = composerEnv.buildZipPackage { | ||
269 | name = "gregwar-captcha-cf953dd79748406e0292cea8c565399681e4d345"; | ||
270 | src = fetchurl { | ||
271 | url = https://api.github.com/repos/Gregwar/Captcha/zipball/cf953dd79748406e0292cea8c565399681e4d345; | ||
272 | sha256 = "153m7bkhs3drxk0jfbq67a8vr1m13g7isc4ck44k5hyfzpcazb5i"; | ||
273 | }; | ||
274 | }; | ||
275 | }; | ||
276 | "gregwar/captcha-bundle" = { | ||
277 | targetDir = ""; | ||
278 | src = composerEnv.buildZipPackage { | ||
279 | name = "gregwar-captcha-bundle-c2d5468556890dd25e0b53bd345fc205562c86f7"; | ||
280 | src = fetchurl { | ||
281 | url = https://api.github.com/repos/Gregwar/CaptchaBundle/zipball/c2d5468556890dd25e0b53bd345fc205562c86f7; | ||
282 | sha256 = "04wcvqq457h6v7mzmrar946swd9akk27fmfig4qj8hpxzj250cgk"; | ||
283 | }; | ||
284 | }; | ||
285 | }; | ||
286 | "helios-ag/fm-bbcode-bundle" = { | ||
287 | targetDir = ""; | ||
288 | src = composerEnv.buildZipPackage { | ||
289 | name = "helios-ag-fm-bbcode-bundle-d88ff5ca6c0ab71ec094d5a7d56b0bc8bc100363"; | ||
290 | src = fetchurl { | ||
291 | url = https://api.github.com/repos/helios-ag/FMBbCodeBundle/zipball/d88ff5ca6c0ab71ec094d5a7d56b0bc8bc100363; | ||
292 | sha256 = "13g9ddd2p3nf1vrbkf6l00qdqz89rq6d8l20p68dmiy7mb6kpynl"; | ||
293 | }; | ||
294 | }; | ||
295 | }; | ||
296 | "immae/piedsjaloux-ckeditor-component" = { | ||
297 | targetDir = ""; | ||
298 | src = fetchgit { | ||
299 | name = "immae-piedsjaloux-ckeditor-component-9946db9daaa76448d0e43247472cdedd2a5ea22a"; | ||
300 | url = "https://git.immae.eu/perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git"; | ||
301 | rev = "9946db9daaa76448d0e43247472cdedd2a5ea22a"; | ||
302 | sha256 = "183rgl23li3bqsynfmvv2s7jvlmqf6a5pskgrcxlaxcrr0d09n8c"; | ||
303 | }; | ||
304 | }; | ||
305 | "incenteev/composer-parameter-handler" = { | ||
306 | targetDir = ""; | ||
307 | src = composerEnv.buildZipPackage { | ||
308 | name = "incenteev-composer-parameter-handler-933c45a34814f27f2345c11c37d46b3ca7303550"; | ||
309 | src = fetchurl { | ||
310 | url = https://api.github.com/repos/Incenteev/ParameterHandler/zipball/933c45a34814f27f2345c11c37d46b3ca7303550; | ||
311 | sha256 = "1zqdwlcl790kjyz4rkpva35xkfsp8kslds82fzznj0yigkgnbifm"; | ||
312 | }; | ||
313 | }; | ||
314 | }; | ||
315 | "jdorn/sql-formatter" = { | ||
316 | targetDir = ""; | ||
317 | src = composerEnv.buildZipPackage { | ||
318 | name = "jdorn-sql-formatter-64990d96e0959dff8e059dfcdc1af130728d92bc"; | ||
319 | src = fetchurl { | ||
320 | url = https://api.github.com/repos/jdorn/sql-formatter/zipball/64990d96e0959dff8e059dfcdc1af130728d92bc; | ||
321 | sha256 = "1dnmkm8mxylvxjwi0bdkzrlklncqx92fa4fwqp5bh2ypj8gaagzi"; | ||
322 | }; | ||
323 | }; | ||
324 | }; | ||
325 | "kriswallsmith/assetic" = { | ||
326 | targetDir = ""; | ||
327 | src = composerEnv.buildZipPackage { | ||
328 | name = "kriswallsmith-assetic-e911c437dbdf006a8f62c2f59b15b2d69a5e0aa1"; | ||
329 | src = fetchurl { | ||
330 | url = https://api.github.com/repos/kriswallsmith/assetic/zipball/e911c437dbdf006a8f62c2f59b15b2d69a5e0aa1; | ||
331 | sha256 = "1dqk4zvx8fgqf8rb81sj9bipl5431jib2b9kcvxyig5fw99irpf8"; | ||
332 | }; | ||
333 | }; | ||
334 | }; | ||
335 | "leapt/im-bundle" = { | ||
336 | targetDir = ""; | ||
337 | src = composerEnv.buildZipPackage { | ||
338 | name = "leapt-im-bundle-83442778d118f6edb537b93f9746c3a97e56c3d1"; | ||
339 | src = fetchurl { | ||
340 | url = https://api.github.com/repos/leapt/im-bundle/zipball/83442778d118f6edb537b93f9746c3a97e56c3d1; | ||
341 | sha256 = "1gm4ih3v1j0xjm7mrpspd3yacdwvbqgag22cyqmix0hc9hw3pc6a"; | ||
342 | }; | ||
343 | }; | ||
344 | }; | ||
345 | "luxifer/doctrine-functions" = { | ||
346 | targetDir = ""; | ||
347 | src = composerEnv.buildZipPackage { | ||
348 | name = "luxifer-doctrine-functions-e1c0bb1a5cb002d9fc82d8b32a5da28c02d34c6c"; | ||
349 | src = fetchurl { | ||
350 | url = https://api.github.com/repos/luxifer/doctrine-functions/zipball/e1c0bb1a5cb002d9fc82d8b32a5da28c02d34c6c; | ||
351 | sha256 = "1sw4826nvs5q0y2na9m26rbxfiaw0kfqwhky7x7apicgx5adqfa9"; | ||
352 | }; | ||
353 | }; | ||
354 | }; | ||
355 | "mjohnson/decoda" = { | ||
356 | targetDir = ""; | ||
357 | src = composerEnv.buildZipPackage { | ||
358 | name = "mjohnson-decoda-8cd0928b78a4bf5ade48b80c934370fc1f5f84a1"; | ||
359 | src = fetchurl { | ||
360 | url = https://api.github.com/repos/milesj/decoda/zipball/8cd0928b78a4bf5ade48b80c934370fc1f5f84a1; | ||
361 | sha256 = "0wcxz9yirz4zir06xvnlchqgppmyasymak06gn46jn6v6c9dsykc"; | ||
362 | }; | ||
363 | }; | ||
364 | }; | ||
365 | "monolog/monolog" = { | ||
366 | targetDir = ""; | ||
367 | src = composerEnv.buildZipPackage { | ||
368 | name = "monolog-monolog-bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266"; | ||
369 | src = fetchurl { | ||
370 | url = https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266; | ||
371 | sha256 = "0h3nnxjf2bdh7nmpqnpij99lqv6bw13r2bx83d8vn5zvblwg5png"; | ||
372 | }; | ||
373 | }; | ||
374 | }; | ||
375 | "ocramius/package-versions" = { | ||
376 | targetDir = ""; | ||
377 | needsModifyRights = true; | ||
378 | src = composerEnv.buildZipPackage { | ||
379 | name = "ocramius-package-versions-4489d5002c49d55576fa0ba786f42dbb009be46f"; | ||
380 | src = fetchurl { | ||
381 | url = https://api.github.com/repos/Ocramius/PackageVersions/zipball/4489d5002c49d55576fa0ba786f42dbb009be46f; | ||
382 | sha256 = "039c404g9597x45xh04bnn8kmcyknkbnr57yb9s7vf29vfrg4881"; | ||
383 | }; | ||
384 | }; | ||
385 | }; | ||
386 | "ocramius/proxy-manager" = { | ||
387 | targetDir = ""; | ||
388 | src = composerEnv.buildZipPackage { | ||
389 | name = "ocramius-proxy-manager-14b137b06b0f911944132df9d51e445a35920ab1"; | ||
390 | src = fetchurl { | ||
391 | url = https://api.github.com/repos/Ocramius/ProxyManager/zipball/14b137b06b0f911944132df9d51e445a35920ab1; | ||
392 | sha256 = "10y5msgh2jdlw4w075fasv40yq01szjy15m3f0wgc89hlfmqz0sn"; | ||
393 | }; | ||
394 | }; | ||
395 | }; | ||
396 | "paragonie/random_compat" = { | ||
397 | targetDir = ""; | ||
398 | src = composerEnv.buildZipPackage { | ||
399 | name = "paragonie-random_compat-84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"; | ||
400 | src = fetchurl { | ||
401 | url = https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95; | ||
402 | sha256 = "03nsccdvcb79l64b7lsmx0n8ldf5z3v8niqr7bpp6wg401qp9p09"; | ||
403 | }; | ||
404 | }; | ||
405 | }; | ||
406 | "psr/cache" = { | ||
407 | targetDir = ""; | ||
408 | src = composerEnv.buildZipPackage { | ||
409 | name = "psr-cache-d11b50ad223250cf17b86e38383413f5a6764bf8"; | ||
410 | src = fetchurl { | ||
411 | url = https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8; | ||
412 | sha256 = "06i2k3dx3b4lgn9a4v1dlgv8l9wcl4kl7vzhh63lbji0q96hv8qz"; | ||
413 | }; | ||
414 | }; | ||
415 | }; | ||
416 | "psr/container" = { | ||
417 | targetDir = ""; | ||
418 | src = composerEnv.buildZipPackage { | ||
419 | name = "psr-container-b7ce3b176482dbbc1245ebf52b181af44c2cf55f"; | ||
420 | src = fetchurl { | ||
421 | url = https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f; | ||
422 | sha256 = "0rkz64vgwb0gfi09klvgay4qnw993l1dc03vyip7d7m2zxi6cy4j"; | ||
423 | }; | ||
424 | }; | ||
425 | }; | ||
426 | "psr/link" = { | ||
427 | targetDir = ""; | ||
428 | src = composerEnv.buildZipPackage { | ||
429 | name = "psr-link-eea8e8662d5cd3ae4517c9b864493f59fca95562"; | ||
430 | src = fetchurl { | ||
431 | url = https://api.github.com/repos/php-fig/link/zipball/eea8e8662d5cd3ae4517c9b864493f59fca95562; | ||
432 | sha256 = "091k4p9irkqnmq9b0p792wz1hb7dm4rafpjilw9im9xhsxgkmr13"; | ||
433 | }; | ||
434 | }; | ||
435 | }; | ||
436 | "psr/log" = { | ||
437 | targetDir = ""; | ||
438 | src = composerEnv.buildZipPackage { | ||
439 | name = "psr-log-6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"; | ||
440 | src = fetchurl { | ||
441 | url = https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd; | ||
442 | sha256 = "1i351p3gd1pgjcjxv7mwwkiw79f1xiqr38irq22156h05zlcx80d"; | ||
443 | }; | ||
444 | }; | ||
445 | }; | ||
446 | "psr/simple-cache" = { | ||
447 | targetDir = ""; | ||
448 | src = composerEnv.buildZipPackage { | ||
449 | name = "psr-simple-cache-408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"; | ||
450 | src = fetchurl { | ||
451 | url = https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b; | ||
452 | sha256 = "1djgzclkamjxi9jy4m9ggfzgq1vqxaga2ip7l3cj88p7rwkzjxgw"; | ||
453 | }; | ||
454 | }; | ||
455 | }; | ||
456 | "robloach/component-installer" = { | ||
457 | targetDir = ""; | ||
458 | src = composerEnv.buildZipPackage { | ||
459 | name = "robloach-component-installer-908a859aa7c4949ba9ad67091e67bac10b66d3d7"; | ||
460 | src = fetchurl { | ||
461 | url = https://api.github.com/repos/RobLoach/component-installer/zipball/908a859aa7c4949ba9ad67091e67bac10b66d3d7; | ||
462 | sha256 = "19y5sv4k338bihzmm8iac6q43r18vxhmbpvrdhz8jn39r51ampq9"; | ||
463 | }; | ||
464 | }; | ||
465 | }; | ||
466 | "sensio/distribution-bundle" = { | ||
467 | targetDir = ""; | ||
468 | src = composerEnv.buildZipPackage { | ||
469 | name = "sensio-distribution-bundle-59eac70f15f97ee945924948a6f5e2f6f86b7a4b"; | ||
470 | src = fetchurl { | ||
471 | url = https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/59eac70f15f97ee945924948a6f5e2f6f86b7a4b; | ||
472 | sha256 = "05mj4c0ahwg6l2wipyqfyyjjp1m2vvl7ymp61nvwv7zhvqacvljs"; | ||
473 | }; | ||
474 | }; | ||
475 | }; | ||
476 | "sensio/framework-extra-bundle" = { | ||
477 | targetDir = ""; | ||
478 | src = composerEnv.buildZipPackage { | ||
479 | name = "sensio-framework-extra-bundle-bb907234df776b68922eb4b25bfa061683597b6a"; | ||
480 | src = fetchurl { | ||
481 | url = https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/bb907234df776b68922eb4b25bfa061683597b6a; | ||
482 | sha256 = "011hcljjcfq5qy4a7mlf0hwqxyb58yci40ini0n5rqandcyk2nck"; | ||
483 | }; | ||
484 | }; | ||
485 | }; | ||
486 | "sensiolabs/security-checker" = { | ||
487 | targetDir = ""; | ||
488 | src = composerEnv.buildZipPackage { | ||
489 | name = "sensiolabs-security-checker-46be3f58adac13084497961e10eed9a7fb4d44d1"; | ||
490 | src = fetchurl { | ||
491 | url = https://api.github.com/repos/sensiolabs/security-checker/zipball/46be3f58adac13084497961e10eed9a7fb4d44d1; | ||
492 | sha256 = "1caqf3hdfsajj9nb8fpinvs6apv90g1srwxcyxdnr6a8d6g0p6qi"; | ||
493 | }; | ||
494 | }; | ||
495 | }; | ||
496 | "swiftmailer/swiftmailer" = { | ||
497 | targetDir = ""; | ||
498 | src = composerEnv.buildZipPackage { | ||
499 | name = "swiftmailer-swiftmailer-181b89f18a90f8925ef805f950d47a7190e9b950"; | ||
500 | src = fetchurl { | ||
501 | url = https://api.github.com/repos/swiftmailer/swiftmailer/zipball/181b89f18a90f8925ef805f950d47a7190e9b950; | ||
502 | sha256 = "0hkmawv3bhbqdavy4wxqhzajg5zqd7chsi8w27y2zdi5r35az75d"; | ||
503 | }; | ||
504 | }; | ||
505 | }; | ||
506 | "symfony/assetic-bundle" = { | ||
507 | targetDir = ""; | ||
508 | src = composerEnv.buildZipPackage { | ||
509 | name = "symfony-assetic-bundle-2e0a23a4874838e26de6f025e02fc63328921a4c"; | ||
510 | src = fetchurl { | ||
511 | url = https://api.github.com/repos/symfony/assetic-bundle/zipball/2e0a23a4874838e26de6f025e02fc63328921a4c; | ||
512 | sha256 = "17rxrkyzxa6x5nn7qhhhdgx4z0nlznnq5fifza4wv9znca8bbwyc"; | ||
513 | }; | ||
514 | }; | ||
515 | }; | ||
516 | "symfony/monolog-bundle" = { | ||
517 | targetDir = ""; | ||
518 | src = composerEnv.buildZipPackage { | ||
519 | name = "symfony-monolog-bundle-572e143afc03419a75ab002c80a2fd99299195ff"; | ||
520 | src = fetchurl { | ||
521 | url = https://api.github.com/repos/symfony/monolog-bundle/zipball/572e143afc03419a75ab002c80a2fd99299195ff; | ||
522 | sha256 = "0g8icydnwfbqcbc56pqyc8bv1vp31331w0r75r3hqh225p2j1nd7"; | ||
523 | }; | ||
524 | }; | ||
525 | }; | ||
526 | "symfony/polyfill-apcu" = { | ||
527 | targetDir = ""; | ||
528 | src = composerEnv.buildZipPackage { | ||
529 | name = "symfony-polyfill-apcu-19e1b73bf255265ad0b568f81766ae2a3266d8d2"; | ||
530 | src = fetchurl { | ||
531 | url = https://api.github.com/repos/symfony/polyfill-apcu/zipball/19e1b73bf255265ad0b568f81766ae2a3266d8d2; | ||
532 | sha256 = "0jg33c81kwkpxk0b18jkslz9jkbkxl5k48h6m5b33dm63p1fj05r"; | ||
533 | }; | ||
534 | }; | ||
535 | }; | ||
536 | "symfony/polyfill-ctype" = { | ||
537 | targetDir = ""; | ||
538 | src = composerEnv.buildZipPackage { | ||
539 | name = "symfony-polyfill-ctype-e3d826245268269cd66f8326bd8bc066687b4a19"; | ||
540 | src = fetchurl { | ||
541 | url = https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19; | ||
542 | sha256 = "16md0qmy5jvvl7lc6n6r5hxjdr5i30vl6n9rpkm4b11rh2nqh7mh"; | ||
543 | }; | ||
544 | }; | ||
545 | }; | ||
546 | "symfony/polyfill-intl-icu" = { | ||
547 | targetDir = ""; | ||
548 | src = composerEnv.buildZipPackage { | ||
549 | name = "symfony-polyfill-intl-icu-f22a90256d577c7ef7efad8df1f0201663d57644"; | ||
550 | src = fetchurl { | ||
551 | url = https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/f22a90256d577c7ef7efad8df1f0201663d57644; | ||
552 | sha256 = "0x7h8l248l1gc07xmvfixq6p80ifdaa29qympfq3jzfb79k69slq"; | ||
553 | }; | ||
554 | }; | ||
555 | }; | ||
556 | "symfony/polyfill-mbstring" = { | ||
557 | targetDir = ""; | ||
558 | src = composerEnv.buildZipPackage { | ||
559 | name = "symfony-polyfill-mbstring-c79c051f5b3a46be09205c73b80b346e4153e494"; | ||
560 | src = fetchurl { | ||
561 | url = https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494; | ||
562 | sha256 = "18v2777cky55ah6xi4dh383mp4iddwzmnvx81qd86y1kgfykwhpi"; | ||
563 | }; | ||
564 | }; | ||
565 | }; | ||
566 | "symfony/polyfill-php56" = { | ||
567 | targetDir = ""; | ||
568 | src = composerEnv.buildZipPackage { | ||
569 | name = "symfony-polyfill-php56-ff208829fe1aa48ab9af356992bb7199fed551af"; | ||
570 | src = fetchurl { | ||
571 | url = https://api.github.com/repos/symfony/polyfill-php56/zipball/ff208829fe1aa48ab9af356992bb7199fed551af; | ||
572 | sha256 = "0vmpiwakc7hpbr6jwpk7cqcy41ybgwl6jkn3q8c4ryxynknn5hfk"; | ||
573 | }; | ||
574 | }; | ||
575 | }; | ||
576 | "symfony/polyfill-php70" = { | ||
577 | targetDir = ""; | ||
578 | src = composerEnv.buildZipPackage { | ||
579 | name = "symfony-polyfill-php70-6b88000cdd431cd2e940caa2cb569201f3f84224"; | ||
580 | src = fetchurl { | ||
581 | url = https://api.github.com/repos/symfony/polyfill-php70/zipball/6b88000cdd431cd2e940caa2cb569201f3f84224; | ||
582 | sha256 = "08h77r1i2q4pwdd0yk3pfhqqgk0z7gwmkzmvykx9bfv1z7a0h8ik"; | ||
583 | }; | ||
584 | }; | ||
585 | }; | ||
586 | "symfony/polyfill-util" = { | ||
587 | targetDir = ""; | ||
588 | src = composerEnv.buildZipPackage { | ||
589 | name = "symfony-polyfill-util-3b58903eae668d348a7126f999b0da0f2f93611c"; | ||
590 | src = fetchurl { | ||
591 | url = https://api.github.com/repos/symfony/polyfill-util/zipball/3b58903eae668d348a7126f999b0da0f2f93611c; | ||
592 | sha256 = "00bb5mgljk6d54nyvd4gmc7mbzfr4b4q7h3rxmv8rzq613wcjp3i"; | ||
593 | }; | ||
594 | }; | ||
595 | }; | ||
596 | "symfony/swiftmailer-bundle" = { | ||
597 | targetDir = ""; | ||
598 | src = composerEnv.buildZipPackage { | ||
599 | name = "symfony-swiftmailer-bundle-c4808f5169efc05567be983909d00f00521c53ec"; | ||
600 | src = fetchurl { | ||
601 | url = https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/c4808f5169efc05567be983909d00f00521c53ec; | ||
602 | sha256 = "0jmd3slhb3gf3c3krmk2a9fi4ixdxvqlimdkfpj0sfaaq0115y01"; | ||
603 | }; | ||
604 | }; | ||
605 | }; | ||
606 | "symfony/symfony" = { | ||
607 | targetDir = ""; | ||
608 | src = composerEnv.buildZipPackage { | ||
609 | name = "symfony-symfony-f6b8ddc362b1cf3fb06548693c3adbb736092412"; | ||
610 | src = fetchurl { | ||
611 | url = https://api.github.com/repos/symfony/symfony/zipball/f6b8ddc362b1cf3fb06548693c3adbb736092412; | ||
612 | sha256 = "0ip7k5xf34w4p1zvv2nkv4nyik3asidk3zlgzyc1v57429z0f28q"; | ||
613 | }; | ||
614 | }; | ||
615 | }; | ||
616 | "twig/extensions" = { | ||
617 | targetDir = ""; | ||
618 | src = composerEnv.buildZipPackage { | ||
619 | name = "twig-extensions-57873c8b0c1be51caa47df2cdb824490beb16202"; | ||
620 | src = fetchurl { | ||
621 | url = https://api.github.com/repos/twigphp/Twig-extensions/zipball/57873c8b0c1be51caa47df2cdb824490beb16202; | ||
622 | sha256 = "1sjajjd6vnczvdrl9b8zhzr06l5dflzqiwg9d33d92q8gli4j7jn"; | ||
623 | }; | ||
624 | }; | ||
625 | }; | ||
626 | "twig/twig" = { | ||
627 | targetDir = ""; | ||
628 | src = composerEnv.buildZipPackage { | ||
629 | name = "twig-twig-a11dd39f5b6589e14f0ff3b36675d06047c589b1"; | ||
630 | src = fetchurl { | ||
631 | url = https://api.github.com/repos/twigphp/Twig/zipball/a11dd39f5b6589e14f0ff3b36675d06047c589b1; | ||
632 | sha256 = "0rnwam9379gj5m4ik0fh6c81dbr7kwj2b3x1gnmpf6awa5fm261n"; | ||
633 | }; | ||
634 | }; | ||
635 | }; | ||
636 | "zendframework/zend-code" = { | ||
637 | targetDir = ""; | ||
638 | src = composerEnv.buildZipPackage { | ||
639 | name = "zendframework-zend-code-c21db169075c6ec4b342149f446e7b7b724f95eb"; | ||
640 | src = fetchurl { | ||
641 | url = https://api.github.com/repos/zendframework/zend-code/zipball/c21db169075c6ec4b342149f446e7b7b724f95eb; | ||
642 | sha256 = "031mfsahjkl63348020wq05273kvszx0dv2766zmzncnd6fcggw1"; | ||
643 | }; | ||
644 | }; | ||
645 | }; | ||
646 | "zendframework/zend-escaper" = { | ||
647 | targetDir = ""; | ||
648 | src = composerEnv.buildZipPackage { | ||
649 | name = "zendframework-zend-escaper-31d8aafae982f9568287cb4dce987e6aff8fd074"; | ||
650 | src = fetchurl { | ||
651 | url = https://api.github.com/repos/zendframework/zend-escaper/zipball/31d8aafae982f9568287cb4dce987e6aff8fd074; | ||
652 | sha256 = "16gwqh9zpclc3fmf89cf738mxfh36ar3wdf9i0wvby0g0nhknkd7"; | ||
653 | }; | ||
654 | }; | ||
655 | }; | ||
656 | "zendframework/zend-eventmanager" = { | ||
657 | targetDir = ""; | ||
658 | src = composerEnv.buildZipPackage { | ||
659 | name = "zendframework-zend-eventmanager-a5e2583a211f73604691586b8406ff7296a946dd"; | ||
660 | src = fetchurl { | ||
661 | url = https://api.github.com/repos/zendframework/zend-eventmanager/zipball/a5e2583a211f73604691586b8406ff7296a946dd; | ||
662 | sha256 = "08a05gn40hfdy2zhz4gcd3r6q7m7zcaks5kpvb9dx1awgx0pzr8n"; | ||
663 | }; | ||
664 | }; | ||
665 | }; | ||
666 | "zendframework/zend-feed" = { | ||
667 | targetDir = ""; | ||
668 | src = composerEnv.buildZipPackage { | ||
669 | name = "zendframework-zend-feed-6641f4cf3f4586c63f83fd70b6d19966025c8888"; | ||
670 | src = fetchurl { | ||
671 | url = https://api.github.com/repos/zendframework/zend-feed/zipball/6641f4cf3f4586c63f83fd70b6d19966025c8888; | ||
672 | sha256 = "0wl2pf4cq0snlp3gbl2ia662i48yils464qlfqf7gdmbn1ryzcpi"; | ||
673 | }; | ||
674 | }; | ||
675 | }; | ||
676 | "zendframework/zend-http" = { | ||
677 | targetDir = ""; | ||
678 | src = composerEnv.buildZipPackage { | ||
679 | name = "zendframework-zend-http-2c8aed3d25522618573194e7cc51351f8cd4a45b"; | ||
680 | src = fetchurl { | ||
681 | url = https://api.github.com/repos/zendframework/zend-http/zipball/2c8aed3d25522618573194e7cc51351f8cd4a45b; | ||
682 | sha256 = "1vy6b24ihwv1g08hjnw4pd7c5171g866jnlr3j6fg0xqv79s4dn9"; | ||
683 | }; | ||
684 | }; | ||
685 | }; | ||
686 | "zendframework/zend-loader" = { | ||
687 | targetDir = ""; | ||
688 | src = composerEnv.buildZipPackage { | ||
689 | name = "zendframework-zend-loader-78f11749ea340f6ca316bca5958eef80b38f9b6c"; | ||
690 | src = fetchurl { | ||
691 | url = https://api.github.com/repos/zendframework/zend-loader/zipball/78f11749ea340f6ca316bca5958eef80b38f9b6c; | ||
692 | sha256 = "056zp0xchc4ckijg969im5him3j4cji6hsy26fiaycwprniaqdmg"; | ||
693 | }; | ||
694 | }; | ||
695 | }; | ||
696 | "zendframework/zend-servicemanager" = { | ||
697 | targetDir = ""; | ||
698 | src = composerEnv.buildZipPackage { | ||
699 | name = "zendframework-zend-servicemanager-a1ed6140d0d3ee803fec96582593ed024950067b"; | ||
700 | src = fetchurl { | ||
701 | url = https://api.github.com/repos/zendframework/zend-servicemanager/zipball/a1ed6140d0d3ee803fec96582593ed024950067b; | ||
702 | sha256 = "0s3aplkilrd8b18xh55h9m1yvnp9b6vnlgby4gqhqv8npnxxqir9"; | ||
703 | }; | ||
704 | }; | ||
705 | }; | ||
706 | "zendframework/zend-stdlib" = { | ||
707 | targetDir = ""; | ||
708 | src = composerEnv.buildZipPackage { | ||
709 | name = "zendframework-zend-stdlib-66536006722aff9e62d1b331025089b7ec71c065"; | ||
710 | src = fetchurl { | ||
711 | url = https://api.github.com/repos/zendframework/zend-stdlib/zipball/66536006722aff9e62d1b331025089b7ec71c065; | ||
712 | sha256 = "0cl0lcgqb5aja6iijp0wrclxra57imwsmhkfpahdl2bsgs1inf2f"; | ||
713 | }; | ||
714 | }; | ||
715 | }; | ||
716 | "zendframework/zend-uri" = { | ||
717 | targetDir = ""; | ||
718 | src = composerEnv.buildZipPackage { | ||
719 | name = "zendframework-zend-uri-3b6463645c6766f78ce537c70cb4fdabee1e725f"; | ||
720 | src = fetchurl { | ||
721 | url = https://api.github.com/repos/zendframework/zend-uri/zipball/3b6463645c6766f78ce537c70cb4fdabee1e725f; | ||
722 | sha256 = "0zkb88y9qbgshm8ys5yjxhz6a7fhxl7waygwn37pqsbvz74mbbvp"; | ||
723 | }; | ||
724 | }; | ||
725 | }; | ||
726 | "zendframework/zend-validator" = { | ||
727 | targetDir = ""; | ||
728 | src = composerEnv.buildZipPackage { | ||
729 | name = "zendframework-zend-validator-f0789b4c4c099afdd2ecc58cc209a26c64bd4f17"; | ||
730 | src = fetchurl { | ||
731 | url = https://api.github.com/repos/zendframework/zend-validator/zipball/f0789b4c4c099afdd2ecc58cc209a26c64bd4f17; | ||
732 | sha256 = "1lwxbr3jlldll4ccw5cn2ny1cbzh279mnfz7m1djqc8qnw16c8jl"; | ||
733 | }; | ||
734 | }; | ||
735 | }; | ||
736 | }; | ||
737 | devPackages = { | ||
738 | "doctrine/data-fixtures" = { | ||
739 | targetDir = ""; | ||
740 | src = composerEnv.buildZipPackage { | ||
741 | name = "doctrine-data-fixtures-3a1e2c3c600e615a2dffe56d4ca0875cc5233e0a"; | ||
742 | src = fetchurl { | ||
743 | url = https://api.github.com/repos/doctrine/data-fixtures/zipball/3a1e2c3c600e615a2dffe56d4ca0875cc5233e0a; | ||
744 | sha256 = "0wbxhy7hq17laqgnq9x9ygysv0n1kn7s4x3v89pk7iy622pil3sm"; | ||
745 | }; | ||
746 | }; | ||
747 | }; | ||
748 | "doctrine/doctrine-fixtures-bundle" = { | ||
749 | targetDir = ""; | ||
750 | src = composerEnv.buildZipPackage { | ||
751 | name = "doctrine-doctrine-fixtures-bundle-74b8cc70a4a25b774628ee59f4cdf3623a146273"; | ||
752 | src = fetchurl { | ||
753 | url = https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/74b8cc70a4a25b774628ee59f4cdf3623a146273; | ||
754 | sha256 = "1bbflq8k6izwqgp9ka2gyb5y96a80b4lnlc5wrgc5gnih7hqidlf"; | ||
755 | }; | ||
756 | }; | ||
757 | }; | ||
758 | "fzaninotto/faker" = { | ||
759 | targetDir = ""; | ||
760 | src = composerEnv.buildZipPackage { | ||
761 | name = "fzaninotto-faker-d0190b156bcca848d401fb80f31f504f37141c8d"; | ||
762 | src = fetchurl { | ||
763 | url = https://api.github.com/repos/fzaninotto/Faker/zipball/d0190b156bcca848d401fb80f31f504f37141c8d; | ||
764 | sha256 = "1x7xrxw14x7b0iq7sxi9ynswk8ljga62i77ch7xip4dwgq1dypvi"; | ||
765 | }; | ||
766 | }; | ||
767 | }; | ||
768 | "league/factory-muffin" = { | ||
769 | targetDir = ""; | ||
770 | src = composerEnv.buildZipPackage { | ||
771 | name = "league-factory-muffin-316ed2bac70178567f995d877b831804c9c58d5a"; | ||
772 | src = fetchurl { | ||
773 | url = https://api.github.com/repos/thephpleague/factory-muffin/zipball/316ed2bac70178567f995d877b831804c9c58d5a; | ||
774 | sha256 = "1fxh0hsqifmnhgkwyd460x3w9wn74369lmak3f1m24mn2asiynxq"; | ||
775 | }; | ||
776 | }; | ||
777 | }; | ||
778 | "league/factory-muffin-faker" = { | ||
779 | targetDir = ""; | ||
780 | src = composerEnv.buildZipPackage { | ||
781 | name = "league-factory-muffin-faker-30dbd11bb6be03b47e52bd60006ae198d20ab426"; | ||
782 | src = fetchurl { | ||
783 | url = https://api.github.com/repos/thephpleague/factory-muffin-faker/zipball/30dbd11bb6be03b47e52bd60006ae198d20ab426; | ||
784 | sha256 = "0dsimjdnsmzdd4vwjzw1gz1bb4zlhmv66g3fc9k4nj5bqch6mny1"; | ||
785 | }; | ||
786 | }; | ||
787 | }; | ||
788 | "mikey179/vfsStream" = { | ||
789 | targetDir = ""; | ||
790 | src = composerEnv.buildZipPackage { | ||
791 | name = "mikey179-vfsStream-d5fec95f541d4d71c4823bb5e30cf9b9e5b96145"; | ||
792 | src = fetchurl { | ||
793 | url = https://api.github.com/repos/mikey179/vfsStream/zipball/d5fec95f541d4d71c4823bb5e30cf9b9e5b96145; | ||
794 | sha256 = "034rdds85qr3n7kqz161dqinl909gwnxgjsvychw8m7dyk2dbl99"; | ||
795 | }; | ||
796 | }; | ||
797 | }; | ||
798 | "phpdocumentor/reflection-common" = { | ||
799 | targetDir = ""; | ||
800 | src = composerEnv.buildZipPackage { | ||
801 | name = "phpdocumentor-reflection-common-21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"; | ||
802 | src = fetchurl { | ||
803 | url = https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6; | ||
804 | sha256 = "1yaf1zg9lnkfnq2ndpviv0hg5bza9vjvv5l4wgcn25lx1p8a94w2"; | ||
805 | }; | ||
806 | }; | ||
807 | }; | ||
808 | "phpdocumentor/reflection-docblock" = { | ||
809 | targetDir = ""; | ||
810 | src = composerEnv.buildZipPackage { | ||
811 | name = "phpdocumentor-reflection-docblock-94fd0001232e47129dd3504189fa1c7225010d08"; | ||
812 | src = fetchurl { | ||
813 | url = https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08; | ||
814 | sha256 = "03zvxqb5n9ddvysj8mjdwf59h7sagj5x5z15nhs7mqpcky1w388x"; | ||
815 | }; | ||
816 | }; | ||
817 | }; | ||
818 | "phpdocumentor/type-resolver" = { | ||
819 | targetDir = ""; | ||
820 | src = composerEnv.buildZipPackage { | ||
821 | name = "phpdocumentor-type-resolver-9c977708995954784726e25d0cd1dddf4e65b0f7"; | ||
822 | src = fetchurl { | ||
823 | url = https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7; | ||
824 | sha256 = "0h888r2iy2290yp9i3fij8wd5b7960yi7yn1rwh26x1xxd83n2mb"; | ||
825 | }; | ||
826 | }; | ||
827 | }; | ||
828 | "phpspec/prophecy" = { | ||
829 | targetDir = ""; | ||
830 | src = composerEnv.buildZipPackage { | ||
831 | name = "phpspec-prophecy-4ba436b55987b4bf311cb7c6ba82aa528aac0a06"; | ||
832 | src = fetchurl { | ||
833 | url = https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06; | ||
834 | sha256 = "0sz9fg8r4yvpgrhsh6qaic3p89pafdj8bdf4izbcccq6mdhclxn6"; | ||
835 | }; | ||
836 | }; | ||
837 | }; | ||
838 | "phpunit/php-code-coverage" = { | ||
839 | targetDir = ""; | ||
840 | src = composerEnv.buildZipPackage { | ||
841 | name = "phpunit-php-code-coverage-eabf68b476ac7d0f73793aada060f1c1a9bf8979"; | ||
842 | src = fetchurl { | ||
843 | url = https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979; | ||
844 | sha256 = "0xfkf2kaqrid0ajr8qfh3qnpiqqddl0cmmdy6hd7l9y7ziy6qz8d"; | ||
845 | }; | ||
846 | }; | ||
847 | }; | ||
848 | "phpunit/php-file-iterator" = { | ||
849 | targetDir = ""; | ||
850 | src = composerEnv.buildZipPackage { | ||
851 | name = "phpunit-php-file-iterator-730b01bc3e867237eaac355e06a36b85dd93a8b4"; | ||
852 | src = fetchurl { | ||
853 | url = https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4; | ||
854 | sha256 = "0kbg907g9hrx7pv8v0wnf4ifqywdgvigq6y6z00lyhgd0b8is060"; | ||
855 | }; | ||
856 | }; | ||
857 | }; | ||
858 | "phpunit/php-text-template" = { | ||
859 | targetDir = ""; | ||
860 | src = composerEnv.buildZipPackage { | ||
861 | name = "phpunit-php-text-template-31f8b717e51d9a2afca6c9f046f5d69fc27c8686"; | ||
862 | src = fetchurl { | ||
863 | url = https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686; | ||
864 | sha256 = "1y03m38qqvsbvyakd72v4dram81dw3swyn5jpss153i5nmqr4p76"; | ||
865 | }; | ||
866 | }; | ||
867 | }; | ||
868 | "phpunit/php-timer" = { | ||
869 | targetDir = ""; | ||
870 | src = composerEnv.buildZipPackage { | ||
871 | name = "phpunit-php-timer-3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"; | ||
872 | src = fetchurl { | ||
873 | url = https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f; | ||
874 | sha256 = "1j04r0hqzrv6m1jk5nb92k2nnana72nscqpfk3rgv3fzrrv69ljr"; | ||
875 | }; | ||
876 | }; | ||
877 | }; | ||
878 | "phpunit/php-token-stream" = { | ||
879 | targetDir = ""; | ||
880 | src = composerEnv.buildZipPackage { | ||
881 | name = "phpunit-php-token-stream-1ce90ba27c42e4e44e6d8458241466380b51fa16"; | ||
882 | src = fetchurl { | ||
883 | url = https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16; | ||
884 | sha256 = "0j1v83m268cddhyzi8qvqfzhpz12hrm3dyw6skyqvljdp7l9x6lk"; | ||
885 | }; | ||
886 | }; | ||
887 | }; | ||
888 | "phpunit/phpunit" = { | ||
889 | targetDir = ""; | ||
890 | src = composerEnv.buildZipPackage { | ||
891 | name = "phpunit-phpunit-46023de9a91eec7dfb06cc56cb4e260017298517"; | ||
892 | src = fetchurl { | ||
893 | url = https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517; | ||
894 | sha256 = "0mxhgcmc575hw3n7czindgqiha8jhdi4p19h883vf15fg6xf5iv6"; | ||
895 | }; | ||
896 | }; | ||
897 | }; | ||
898 | "phpunit/phpunit-mock-objects" = { | ||
899 | targetDir = ""; | ||
900 | src = composerEnv.buildZipPackage { | ||
901 | name = "phpunit-phpunit-mock-objects-ac8e7a3db35738d56ee9a76e78a4e03d97628983"; | ||
902 | src = fetchurl { | ||
903 | url = https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983; | ||
904 | sha256 = "0s7nyyafdqw2hp7wsd2mxnjxpk26630vv3wii6hcdb0q8xy8r78i"; | ||
905 | }; | ||
906 | }; | ||
907 | }; | ||
908 | "sebastian/comparator" = { | ||
909 | targetDir = ""; | ||
910 | src = composerEnv.buildZipPackage { | ||
911 | name = "sebastian-comparator-2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"; | ||
912 | src = fetchurl { | ||
913 | url = https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be; | ||
914 | sha256 = "0ymarxgnr8b3iy0w18h5z13iiv0ja17vjryryzfcwlqqhlc6w7iq"; | ||
915 | }; | ||
916 | }; | ||
917 | }; | ||
918 | "sebastian/diff" = { | ||
919 | targetDir = ""; | ||
920 | src = composerEnv.buildZipPackage { | ||
921 | name = "sebastian-diff-7f066a26a962dbe58ddea9f72a4e82874a3975a4"; | ||
922 | src = fetchurl { | ||
923 | url = https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4; | ||
924 | sha256 = "1ppx21vjj79z6d584ryq451k7kvdc511awmqjkj9g4vxj1s1h3j6"; | ||
925 | }; | ||
926 | }; | ||
927 | }; | ||
928 | "sebastian/environment" = { | ||
929 | targetDir = ""; | ||
930 | src = composerEnv.buildZipPackage { | ||
931 | name = "sebastian-environment-be2c607e43ce4c89ecd60e75c6a85c126e754aea"; | ||
932 | src = fetchurl { | ||
933 | url = https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea; | ||
934 | sha256 = "0gzgnk847kf18krq4ybbi2knzj7i0kdghsdlj6qynzzrlf7idij0"; | ||
935 | }; | ||
936 | }; | ||
937 | }; | ||
938 | "sebastian/exporter" = { | ||
939 | targetDir = ""; | ||
940 | src = composerEnv.buildZipPackage { | ||
941 | name = "sebastian-exporter-42c4c2eec485ee3e159ec9884f95b431287edde4"; | ||
942 | src = fetchurl { | ||
943 | url = https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4; | ||
944 | sha256 = "1p5mc4lqwxn79v06jjlgqxynblywcxw2mkhbf6r4jlz0bsrqafxn"; | ||
945 | }; | ||
946 | }; | ||
947 | }; | ||
948 | "sebastian/global-state" = { | ||
949 | targetDir = ""; | ||
950 | src = composerEnv.buildZipPackage { | ||
951 | name = "sebastian-global-state-bc37d50fea7d017d3d340f230811c9f1d7280af4"; | ||
952 | src = fetchurl { | ||
953 | url = https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4; | ||
954 | sha256 = "0y1x16mf9q38s7rlc7k2s6sxn2ccxmyk1q5zgh24hr4yp035f0pb"; | ||
955 | }; | ||
956 | }; | ||
957 | }; | ||
958 | "sebastian/recursion-context" = { | ||
959 | targetDir = ""; | ||
960 | src = composerEnv.buildZipPackage { | ||
961 | name = "sebastian-recursion-context-b19cc3298482a335a95f3016d2f8a6950f0fbcd7"; | ||
962 | src = fetchurl { | ||
963 | url = https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7; | ||
964 | sha256 = "1i9xdv55nkg1yy5q4lmpq1jsjif69hjrwmr1zha6b5qjf6ivlvjm"; | ||
965 | }; | ||
966 | }; | ||
967 | }; | ||
968 | "sebastian/version" = { | ||
969 | targetDir = ""; | ||
970 | src = composerEnv.buildZipPackage { | ||
971 | name = "sebastian-version-58b3a85e7999757d6ad81c787a1fbf5ff6c628c6"; | ||
972 | src = fetchurl { | ||
973 | url = https://api.github.com/repos/sebastianbergmann/version/zipball/58b3a85e7999757d6ad81c787a1fbf5ff6c628c6; | ||
974 | sha256 = "1s71b6ss29pcsm0120myriwnzla1kpj13f3f739c7k1wfm69h4wz"; | ||
975 | }; | ||
976 | }; | ||
977 | }; | ||
978 | "sensio/generator-bundle" = { | ||
979 | targetDir = ""; | ||
980 | src = composerEnv.buildZipPackage { | ||
981 | name = "sensio-generator-bundle-28cbaa244bd0816fd8908b93f90380bcd7b67a65"; | ||
982 | src = fetchurl { | ||
983 | url = https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/28cbaa244bd0816fd8908b93f90380bcd7b67a65; | ||
984 | sha256 = "1j09y037xk843q8gcyfmwgy6dmn0h67pd5jnsvhj08h92ssbl0c3"; | ||
985 | }; | ||
986 | }; | ||
987 | }; | ||
988 | "symfony/phpunit-bridge" = { | ||
989 | targetDir = ""; | ||
990 | src = composerEnv.buildZipPackage { | ||
991 | name = "symfony-phpunit-bridge-2155067dfc73e0e77dbc26f236af17e4df552de5"; | ||
992 | src = fetchurl { | ||
993 | url = https://api.github.com/repos/symfony/phpunit-bridge/zipball/2155067dfc73e0e77dbc26f236af17e4df552de5; | ||
994 | sha256 = "1fhqyhvns69pkv086d1sp918bakqq9pk9d16nzck2s4pfdf097pj"; | ||
995 | }; | ||
996 | }; | ||
997 | }; | ||
998 | "webmozart/assert" = { | ||
999 | targetDir = ""; | ||
1000 | src = composerEnv.buildZipPackage { | ||
1001 | name = "webmozart-assert-83e253c8e0be5b0257b881e1827274667c5c17a9"; | ||
1002 | src = fetchurl { | ||
1003 | url = https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9; | ||
1004 | sha256 = "0d84b0ms9mjpqx368gs7c3qs06mpbx5565j3vs43b1ygnyhhhaqk"; | ||
1005 | }; | ||
1006 | }; | ||
1007 | }; | ||
1008 | }; | ||
1009 | } | ||
diff --git a/nixops/modules/websites/piedsjaloux/piedsjaloux.json b/nixops/modules/websites/piedsjaloux/piedsjaloux.json deleted file mode 100644 index a34c7e8..0000000 --- a/nixops/modules/websites/piedsjaloux/piedsjaloux.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "4ee4538-master", | ||
3 | "meta": { | ||
4 | "name": "piedsjaloux", | ||
5 | "url": "gitolite@git.immae.eu:Pieds_jaloux/NewSite", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "gitolite@git.immae.eu:Pieds_jaloux/NewSite", | ||
10 | "rev": "4ee45386ad9ec9c081234a2fbde66e5b0c3294be", | ||
11 | "sha256": "10a41chh4crn95z6lk6nhkx27089djkngypa9m76bg7ph508mvnq", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/nixops/modules/websites/piedsjaloux/piedsjaloux.nix b/nixops/modules/websites/piedsjaloux/piedsjaloux.nix index 5461e5d..97f8946 100644 --- a/nixops/modules/websites/piedsjaloux/piedsjaloux.nix +++ b/nixops/modules/websites/piedsjaloux/piedsjaloux.nix | |||
@@ -1,168 +1,146 @@ | |||
1 | { pkgs, lib, writeText, fetchedGitPrivate, stdenv, composerEnv, fetchurl, fetchgit, texlive, imagemagick }: | 1 | { piedsjaloux, config, pkgs, lib, texlive, imagemagick }: |
2 | let | 2 | rec { |
3 | piedsjaloux = { config }: rec { | 3 | app = piedsjaloux.override { inherit (config) environment; }; |
4 | environment = config.environment; | 4 | varDir = "/var/lib/piedsjaloux_${app.environment}"; |
5 | varDir = "/var/lib/piedsjaloux_${environment}"; | 5 | keys = [{ |
6 | keys = [{ | 6 | dest = "webapps/${app.environment}-piedsjaloux"; |
7 | dest = "webapps/${environment}-piedsjaloux"; | 7 | user = apache.user; |
8 | user = apache.user; | 8 | group = apache.group; |
9 | group = apache.group; | 9 | permissions = "0400"; |
10 | permissions = "0400"; | 10 | text = '' |
11 | text = '' | 11 | # This file is auto-generated during the composer install |
12 | # This file is auto-generated during the composer install | 12 | parameters: |
13 | parameters: | 13 | database_host: ${config.mysql.host} |
14 | database_host: ${config.mysql.host} | 14 | database_port: ${config.mysql.port} |
15 | database_port: ${config.mysql.port} | 15 | database_name: ${config.mysql.name} |
16 | database_name: ${config.mysql.name} | 16 | database_user: ${config.mysql.user} |
17 | database_user: ${config.mysql.user} | 17 | database_password: ${config.mysql.password} |
18 | database_password: ${config.mysql.password} | 18 | database_server_version: ${pkgs.mariadb.mysqlVersion} |
19 | database_server_version: ${pkgs.mariadb.mysqlVersion} | 19 | mailer_transport: smtp |
20 | mailer_transport: smtp | 20 | mailer_host: 127.0.0.1 |
21 | mailer_host: 127.0.0.1 | 21 | mailer_user: null |
22 | mailer_user: null | 22 | mailer_password: null |
23 | mailer_password: null | 23 | secret: ${config.secret} |
24 | secret: ${config.secret} | 24 | pdflatex: "${texlive.combine { inherit (texlive) attachfile preprint scheme-small; }}/bin/pdflatex" |
25 | pdflatex: "${texlive.combine { inherit (texlive) attachfile preprint scheme-small; }}/bin/pdflatex" | 25 | leapt_im: |
26 | leapt_im: | 26 | binary_path: ${imagemagick}/bin |
27 | binary_path: ${imagemagick}/bin | 27 | ''; |
28 | }]; | ||
29 | phpFpm = rec { | ||
30 | preStart = '' | ||
31 | if [ ! -f "${app.varDir}/currentWebappDir" -o \ | ||
32 | ! -f "${app.varDir}/currentKey" -o \ | ||
33 | "${app}" != "$(cat ${app.varDir}/currentWebappDir 2>/dev/null)" ] \ | ||
34 | || ! sha512sum -c --status ${app.varDir}/currentKey; then | ||
35 | pushd ${app} > /dev/null | ||
36 | /run/wrappers/bin/sudo -u wwwrun ./bin/console --env=${app.environment} cache:clear --no-warmup | ||
37 | popd > /dev/null | ||
38 | echo -n "${app}" > ${app.varDir}/currentWebappDir | ||
39 | sha512sum /var/secrets/webapps/${app.environment}-piedsjaloux > ${app.varDir}/currentKey | ||
40 | fi | ||
28 | ''; | 41 | ''; |
29 | }]; | 42 | serviceDeps = [ "mysql.service" ]; |
30 | phpFpm = rec { | 43 | socket = "/var/run/phpfpm/piedsjaloux-${app.environment}.sock"; |
31 | preStart = '' | 44 | pool = '' |
32 | if [ ! -f "${varDir}/currentWebappDir" -o \ | 45 | listen = ${socket} |
33 | ! -f "${varDir}/currentKey" -o \ | 46 | user = ${apache.user} |
34 | "${webappDir}" != "$(cat ${varDir}/currentWebappDir 2>/dev/null)" ] \ | 47 | group = ${apache.group} |
35 | || ! sha512sum -c --status ${varDir}/currentKey; then | 48 | listen.owner = ${apache.user} |
36 | pushd ${webappDir} > /dev/null | 49 | listen.group = ${apache.group} |
37 | /run/wrappers/bin/sudo -u wwwrun ./bin/console --env=${environment} cache:clear --no-warmup | 50 | php_admin_value[upload_max_filesize] = 20M |
38 | popd > /dev/null | 51 | php_admin_value[post_max_size] = 20M |
39 | echo -n "${webappDir}" > ${varDir}/currentWebappDir | 52 | ;php_admin_flag[log_errors] = on |
40 | sha512sum /var/secrets/webapps/${environment}-piedsjaloux > ${varDir}/currentKey | 53 | php_admin_value[open_basedir] = "/var/secrets/webapps/${app.environment}-piedsjaloux:${app}:${app.varDir}:/tmp" |
41 | fi | 54 | php_admin_value[session.save_path] = "${app.varDir}/phpSessions" |
42 | ''; | 55 | env[PATH] = ${lib.makeBinPath [ pkgs.apg pkgs.unzip ]} |
43 | serviceDeps = [ "mysql.service" ]; | 56 | ${if app.environment == "dev" then '' |
44 | socket = "/var/run/phpfpm/piedsjaloux-${environment}.sock"; | 57 | pm = ondemand |
45 | pool = '' | 58 | pm.max_children = 5 |
46 | listen = ${socket} | 59 | pm.process_idle_timeout = 60 |
47 | user = ${apache.user} | 60 | env[SYMFONY_DEBUG_MODE] = "yes" |
48 | group = ${apache.group} | 61 | '' else '' |
49 | listen.owner = ${apache.user} | 62 | pm = dynamic |
50 | listen.group = ${apache.group} | 63 | pm.max_children = 20 |
51 | php_admin_value[upload_max_filesize] = 20M | 64 | pm.start_servers = 2 |
52 | php_admin_value[post_max_size] = 20M | 65 | pm.min_spare_servers = 1 |
53 | ;php_admin_flag[log_errors] = on | 66 | pm.max_spare_servers = 3 |
54 | php_admin_value[open_basedir] = "/var/secrets/webapps/${environment}-piedsjaloux:${webappDir}:${varDir}:/tmp" | 67 | ''}''; |
55 | php_admin_value[session.save_path] = "${varDir}/phpSessions" | 68 | }; |
56 | env[PATH] = ${lib.makeBinPath [ pkgs.apg pkgs.unzip ]} | 69 | apache = rec { |
57 | ${if environment == "dev" then '' | 70 | user = "wwwrun"; |
58 | pm = ondemand | 71 | group = "wwwrun"; |
59 | pm.max_children = 5 | 72 | modules = [ "proxy_fcgi" ]; |
60 | pm.process_idle_timeout = 60 | 73 | webappName = "piedsjaloux_${app.environment}"; |
61 | env[SYMFONY_DEBUG_MODE] = "yes" | 74 | root = "/run/current-system/webapps/${webappName}"; |
62 | '' else '' | 75 | vhostConf = '' |
63 | pm = dynamic | 76 | <FilesMatch "\.php$"> |
64 | pm.max_children = 20 | 77 | SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost" |
65 | pm.start_servers = 2 | 78 | </FilesMatch> |
66 | pm.min_spare_servers = 1 | ||
67 | pm.max_spare_servers = 3 | ||
68 | ''}''; | ||
69 | }; | ||
70 | apache = rec { | ||
71 | user = "wwwrun"; | ||
72 | group = "wwwrun"; | ||
73 | modules = [ "proxy_fcgi" ]; | ||
74 | webappName = "piedsjaloux_${environment}"; | ||
75 | root = "/run/current-system/webapps/${webappName}"; | ||
76 | vhostConf = '' | ||
77 | <FilesMatch "\.php$"> | ||
78 | SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost" | ||
79 | </FilesMatch> | ||
80 | 79 | ||
81 | ${if environment == "dev" then '' | 80 | ${if app.environment == "dev" then '' |
82 | <Location /> | 81 | <Location /> |
83 | Use LDAPConnect | 82 | Use LDAPConnect |
84 | Require ldap-group cn=piedsjaloux.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu | 83 | Require ldap-group cn=piedsjaloux.immae.eu,cn=httpd,ou=services,dc=immae,dc=eu |
85 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://piedsjaloux.fr\"></html>" | 84 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://piedsjaloux.fr\"></html>" |
86 | </Location> | 85 | </Location> |
87 | 86 | ||
88 | <Directory ${root}> | 87 | <Directory ${root}> |
89 | Options Indexes FollowSymLinks MultiViews Includes | 88 | Options Indexes FollowSymLinks MultiViews Includes |
90 | AllowOverride None | 89 | AllowOverride None |
91 | Require all granted | 90 | Require all granted |
92 | 91 | ||
93 | DirectoryIndex app_dev.php | 92 | DirectoryIndex app_dev.php |
94 | 93 | ||
95 | <IfModule mod_negotiation.c> | 94 | <IfModule mod_negotiation.c> |
96 | Options -MultiViews | 95 | Options -MultiViews |
97 | </IfModule> | 96 | </IfModule> |
98 | 97 | ||
99 | <IfModule mod_rewrite.c> | 98 | <IfModule mod_rewrite.c> |
100 | RewriteEngine On | 99 | RewriteEngine On |
101 | 100 | ||
102 | RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ | 101 | RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ |
103 | RewriteRule ^(.*) - [E=BASE:%1] | 102 | RewriteRule ^(.*) - [E=BASE:%1] |
104 | 103 | ||
105 | # Maintenance script | 104 | # Maintenance script |
106 | RewriteCond %{DOCUMENT_ROOT}/maintenance.php -f | 105 | RewriteCond %{DOCUMENT_ROOT}/maintenance.php -f |
107 | RewriteCond %{SCRIPT_FILENAME} !maintenance.php | 106 | RewriteCond %{SCRIPT_FILENAME} !maintenance.php |
108 | RewriteRule ^.*$ %{ENV:BASE}/maintenance.php [R=503,L] | 107 | RewriteRule ^.*$ %{ENV:BASE}/maintenance.php [R=503,L] |
109 | ErrorDocument 503 /maintenance.php | 108 | ErrorDocument 503 /maintenance.php |
110 | 109 | ||
111 | # Sets the HTTP_AUTHORIZATION header removed by Apache | 110 | # Sets the HTTP_AUTHORIZATION header removed by Apache |
112 | RewriteCond %{HTTP:Authorization} . | 111 | RewriteCond %{HTTP:Authorization} . |
113 | RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | 112 | RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
114 | 113 | ||
115 | RewriteCond %{ENV:REDIRECT_STATUS} ^$ | 114 | RewriteCond %{ENV:REDIRECT_STATUS} ^$ |
116 | RewriteRule ^app_dev\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L] | 115 | RewriteRule ^app_dev\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L] |
117 | 116 | ||
118 | # If the requested filename exists, simply serve it. | 117 | # If the requested filename exists, simply serve it. |
119 | # We only want to let Apache serve files and not directories. | 118 | # We only want to let Apache serve files and not directories. |
120 | RewriteCond %{REQUEST_FILENAME} -f | 119 | RewriteCond %{REQUEST_FILENAME} -f |
121 | RewriteRule ^ - [L] | 120 | RewriteRule ^ - [L] |
122 | 121 | ||
123 | # Rewrite all other queries to the front controller. | 122 | # Rewrite all other queries to the front controller. |
124 | RewriteRule ^ %{ENV:BASE}/app_dev.php [L] | 123 | RewriteRule ^ %{ENV:BASE}/app_dev.php [L] |
125 | </IfModule> | 124 | </IfModule> |
126 | 125 | ||
127 | </Directory> | 126 | </Directory> |
128 | '' else '' | 127 | '' else '' |
129 | Use Stats piedsjaloux.fr | 128 | Use Stats piedsjaloux.fr |
130 | 129 | ||
131 | <Directory ${root}> | 130 | <Directory ${root}> |
132 | Options Indexes FollowSymLinks MultiViews Includes | 131 | Options Indexes FollowSymLinks MultiViews Includes |
133 | AllowOverride All | 132 | AllowOverride All |
134 | Require all granted | 133 | Require all granted |
135 | </Directory> | 134 | </Directory> |
136 | ''} | 135 | ''} |
137 | ''; | 136 | ''; |
138 | }; | 137 | }; |
139 | activationScript = { | 138 | activationScript = { |
140 | deps = [ "wrappers" ]; | 139 | deps = [ "wrappers" ]; |
141 | text = '' | 140 | text = '' |
142 | install -m 0755 -o ${apache.user} -g ${apache.group} -d ${varDir} \ | 141 | install -m 0755 -o ${apache.user} -g ${apache.group} -d ${app.varDir} \ |
143 | ${varDir}/tmp | 142 | ${app.varDir}/tmp |
144 | install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions | 143 | install -m 0750 -o ${apache.user} -g ${apache.group} -d ${app.varDir}/phpSessions |
145 | ''; | 144 | ''; |
146 | }; | ||
147 | webappDir = composerEnv.buildPackage ( | ||
148 | import ./php-packages.nix { inherit composerEnv fetchurl fetchgit; } // | ||
149 | fetchedGitPrivate ./piedsjaloux.json // | ||
150 | rec { | ||
151 | noDev = (environment == "prod"); | ||
152 | preInstall = '' | ||
153 | export SYMFONY_ENV="${environment}" | ||
154 | ''; | ||
155 | # /!\ miniatures and data need to be in the same physical dir due to a | ||
156 | # bug in leapt.im (searches for data/../miniatures) | ||
157 | postInstall = '' | ||
158 | cd $out | ||
159 | rm app/config/parameters.yml | ||
160 | ln -sf /var/secrets/webapps/${environment}-piedsjaloux app/config/parameters.yml | ||
161 | rm -rf var/{logs,cache,data,miniatures,tmp} | ||
162 | ln -sf ${varDir}/{logs,cache,data,miniatures,tmp} var/ | ||
163 | ''; | ||
164 | }); | ||
165 | webRoot = "${webappDir}/web"; | ||
166 | }; | 145 | }; |
167 | in | 146 | } |
168 | piedsjaloux | ||