tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
angle: init at 7258
Jess
6 months ago
e77bf38e
9855b727
+697
3 changed files
expand all
collapse all
unified
split
pkgs
by-name
an
angle
fix-uninitialized-const-pointer-error-001.patch
info.json
package.nix
+16
pkgs/by-name/an/angle/fix-uninitialized-const-pointer-error-001.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
2
+
index 0c04c9036..1f32ec562 100644
3
+
--- a/build/config/compiler/BUILD.gn
4
+
+++ b/build/config/compiler/BUILD.gn
5
+
@@ -1992,6 +1992,11 @@ config("tot_warnings") {
6
+
"-Wno-character-conversion",
7
+
]
8
+
}
9
+
+
10
+
+ cflags += [
11
+
+ # TODO(crbug.com/432275627): Fix and re-enable.
12
+
+ "-Wno-uninitialized-const-pointer"
13
+
+ ]
14
+
}
15
+
16
+
# default_warnings ------------------------------------------------------------
+522
pkgs/by-name/an/angle/info.json
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
"src/build": {
3
+
"args": {
4
+
"hash": "sha256-dF/oqsbgJ+rqu+4G5s5/h77tByKaejj0DD+Yj3HG9r0=",
5
+
"rev": "169fcf699b64d2d5e75a391beaec8a7ad6e41a7f",
6
+
"url": "https://chromium.googlesource.com/chromium/src/build.git"
7
+
},
8
+
"fetcher": "fetchFromGitiles"
9
+
},
10
+
"src/buildtools": {
11
+
"args": {
12
+
"hash": "sha256-Oc3PLsNSY5feY+qGZgXWv6GlW07tk3S64xwkErueY6Y=",
13
+
"rev": "5b7491dfe58d387aaf1391749afdfbaa19dcbb89",
14
+
"url": "https://chromium.googlesource.com/chromium/src/buildtools.git"
15
+
},
16
+
"fetcher": "fetchFromGitiles"
17
+
},
18
+
"src": {
19
+
"args": {
20
+
"hash": "sha256-2KV5vzBbn27PfxwtVCLgoEdxGrd3GiDiiqffWGv16MM=",
21
+
"rev": "7ab02e1d49a649adaba62b8a7fdfabf8144b313f",
22
+
"url": "https://chromium.googlesource.com/angle/angle"
23
+
},
24
+
"fetcher": "fetchFromGitiles"
25
+
},
26
+
"src/testing": {
27
+
"args": {
28
+
"hash": "sha256-q2eSRf9vO+MoQorl4ybMKcFLiE6qCklmO+63jdr1TV0=",
29
+
"rev": "0d5210a4b1978e7e2c6b8623c719dff0a0994a8f",
30
+
"url": "https://chromium.googlesource.com/chromium/src/testing"
31
+
},
32
+
"fetcher": "fetchFromGitiles"
33
+
},
34
+
"src/third_party/EGL-Registry/src": {
35
+
"args": {
36
+
"hash": "sha256-Z6DwLfgQ1wsJXz0KKJyVieOatnDmx3cs0qJ6IEgSq1A=",
37
+
"rev": "7dea2ed79187cd13f76183c4b9100159b9e3e071",
38
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry"
39
+
},
40
+
"fetcher": "fetchFromGitiles"
41
+
},
42
+
"src/third_party/OpenCL-CTS/src": {
43
+
"args": {
44
+
"hash": "sha256-/YmLOW0kcLWaJcUnX+x//R8pgy05YihZykkhKnbp25o=",
45
+
"rev": "e0a31a03fc8f816d59fd8b3051ac6a61d3fa50c6",
46
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-CTS"
47
+
},
48
+
"fetcher": "fetchFromGitiles"
49
+
},
50
+
"src/third_party/OpenCL-Docs/src": {
51
+
"args": {
52
+
"hash": "sha256-RnukrtXh8mAbskzNx99OjDzcFfQHl+Lq2OmPEZlu1Vo=",
53
+
"rev": "774114e8761920b976d538d47fad8178d05984ec",
54
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-Docs"
55
+
},
56
+
"fetcher": "fetchFromGitiles"
57
+
},
58
+
"src/third_party/OpenCL-ICD-Loader/src": {
59
+
"args": {
60
+
"hash": "sha256-JJgTD8fD3TNCIq16bfg+nTaVs17vKFNShCn6F4ermCA=",
61
+
"rev": "9b5e3849b49a1448996c8b96ba086cd774d987db",
62
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-ICD-Loader"
63
+
},
64
+
"fetcher": "fetchFromGitiles"
65
+
},
66
+
"src/third_party/OpenGL-Registry/src": {
67
+
"args": {
68
+
"hash": "sha256-RdGIm0thB10DvyFYnYgTkUU8LgTLPfIgyfEgua4FJYE=",
69
+
"rev": "200cea4030cb49d3e40677379e6368a5f0e8c27b",
70
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry"
71
+
},
72
+
"fetcher": "fetchFromGitiles"
73
+
},
74
+
"src/third_party/Python-Markdown": {
75
+
"args": {
76
+
"hash": "sha256-qvtPcNJ0Pz1oCqZqrdm/TCQ+QBwDZjuWWvEGftXAPW8=",
77
+
"rev": "0f4473546172a64636f5d841410c564c0edad625",
78
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/Python-Markdown"
79
+
},
80
+
"fetcher": "fetchFromGitiles"
81
+
},
82
+
"src/third_party/SwiftShader": {
83
+
"args": {
84
+
"hash": "sha256-kfY/I2V3t52wWrT8CU9TK3EhZP/Cw5sd/wF9dMGpHBI=",
85
+
"rev": "0ce9bc68d3fc995f76dcab4771c26471100ce759",
86
+
"url": "https://swiftshader.googlesource.com/SwiftShader"
87
+
},
88
+
"fetcher": "fetchFromGitiles"
89
+
},
90
+
"src/third_party/VK-GL-CTS/src": {
91
+
"args": {
92
+
"hash": "sha256-fl3yXkdi1KqrrmHB9k+l/eaINuFHgruUL6MB/9QXvhE=",
93
+
"rev": "4c617fa74b67a177c7bde5f48c73f5a5509121ed",
94
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS"
95
+
},
96
+
"fetcher": "fetchFromGitiles"
97
+
},
98
+
"src/third_party/abseil-cpp": {
99
+
"args": {
100
+
"hash": "sha256-0ztP0QhEnChkGOXbSP3T4epbzzf/T6POfohe58sFTwE=",
101
+
"rev": "e3d58ba1a2a04f85225c3c04fa4603bb64399b2c",
102
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp"
103
+
},
104
+
"fetcher": "fetchFromGitiles"
105
+
},
106
+
"src/third_party/astc-encoder/src": {
107
+
"args": {
108
+
"hash": "sha256-rCyi5Nla2IXsLD+rLMTN1h3B9umlNN0epZmPi/IFHPQ=",
109
+
"rev": "2319d9c4d4af53a7fc7c52985e264ce6e8a02a9b",
110
+
"url": "https://chromium.googlesource.com/external/github.com/ARM-software/astc-encoder"
111
+
},
112
+
"fetcher": "fetchFromGitiles"
113
+
},
114
+
"src/third_party/catapult": {
115
+
"args": {
116
+
"hash": "sha256-GlcGCmcQrA/YawQDFs8QB4GKZIPyBNiSgwm45LFg+go=",
117
+
"rev": "a03b70978cc52840b549947f0fb165f03764c700",
118
+
"url": "https://chromium.googlesource.com/catapult.git"
119
+
},
120
+
"fetcher": "fetchFromGitiles"
121
+
},
122
+
"src/third_party/cherry": {
123
+
"args": {
124
+
"hash": "sha256-x41m6HooD57wTDne58/sRK5QJvvOYfRWgdrwuw9tQyM=",
125
+
"rev": "4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc",
126
+
"url": "https://android.googlesource.com/platform/external/cherry"
127
+
},
128
+
"fetcher": "fetchFromGitiles"
129
+
},
130
+
"src/third_party/clang-format/script": {
131
+
"args": {
132
+
"hash": "sha256-d9uweklBffiuCWEb03ti1eFLnMac2qRtvggzXY1n/RU=",
133
+
"rev": "37f6e68a107df43b7d7e044fd36a13cbae3413f2",
134
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git"
135
+
},
136
+
"fetcher": "fetchFromGitiles"
137
+
},
138
+
"src/third_party/clspv/src": {
139
+
"args": {
140
+
"hash": "sha256-OYD/74HVwg5o910luPVB0Benj1nNZ1eGXijoqHy/OH8=",
141
+
"rev": "60f822e8123ca414dddc0e0f944440c99cb3c04d",
142
+
"url": "https://chromium.googlesource.com/external/github.com/google/clspv"
143
+
},
144
+
"fetcher": "fetchFromGitiles"
145
+
},
146
+
"src/third_party/dawn": {
147
+
"args": {
148
+
"hash": "sha256-Xc86K5H4kNe9vtqQAW6y/iBGgdrK9qxT1Z8/gGkSEvQ=",
149
+
"rev": "7a8946456d4957dedd0137278f2198e02066b319",
150
+
"url": "https://dawn.googlesource.com/dawn.git"
151
+
},
152
+
"fetcher": "fetchFromGitiles"
153
+
},
154
+
"src/third_party/dawn/third_party/dxc": {
155
+
"args": {
156
+
"hash": "sha256-sUSQTOi0EuIHX9h27RXb5HnbcdfkG/U1K6EbBdjSto8=",
157
+
"rev": "0a1143572d107c8b6980df092b84a79190ec1fbd",
158
+
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler"
159
+
},
160
+
"fetcher": "fetchFromGitiles"
161
+
},
162
+
"src/third_party/dawn/third_party/dxheaders": {
163
+
"args": {
164
+
"hash": "sha256-0Miw1Cy/jmOo7bLFBOHuTRDV04cSeyvUEyPkpVsX9DA=",
165
+
"rev": "980971e835876dc0cde415e8f9bc646e64667bf7",
166
+
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers"
167
+
},
168
+
"fetcher": "fetchFromGitiles"
169
+
},
170
+
"src/third_party/dawn/third_party/glfw": {
171
+
"args": {
172
+
"hash": "sha256-E1zXIDiw87badrLOZTvV+Wh9NZHu51nb70ZK9vlAlqE=",
173
+
"rev": "b35641f4a3c62aa86a0b3c983d163bc0fe36026d",
174
+
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw"
175
+
},
176
+
"fetcher": "fetchFromGitiles"
177
+
},
178
+
"src/third_party/dawn/third_party/khronos/EGL-Registry": {
179
+
"args": {
180
+
"hash": "sha256-Z6DwLfgQ1wsJXz0KKJyVieOatnDmx3cs0qJ6IEgSq1A=",
181
+
"rev": "7dea2ed79187cd13f76183c4b9100159b9e3e071",
182
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry"
183
+
},
184
+
"fetcher": "fetchFromGitiles"
185
+
},
186
+
"src/third_party/dawn/third_party/khronos/OpenGL-Registry": {
187
+
"args": {
188
+
"hash": "sha256-K3PcRIiD3AmnbiSm5TwaLs4Gu9hxaN8Y91WMKK8pOXE=",
189
+
"rev": "5bae8738b23d06968e7c3a41308568120943ae77",
190
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry"
191
+
},
192
+
"fetcher": "fetchFromGitiles"
193
+
},
194
+
"src/third_party/depot_tools": {
195
+
"args": {
196
+
"hash": "sha256-GcBMHMvjSpKPoE8RK5xatfWT5BWPkFFUEkZpSeAcqWA=",
197
+
"rev": "8f878438075a8d5d76f57bd10ab866d58d706319",
198
+
"url": "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
199
+
},
200
+
"fetcher": "fetchFromGitiles"
201
+
},
202
+
"src/third_party/glmark2/src": {
203
+
"args": {
204
+
"hash": "sha256-VebUALLFKwEa4+oE+jF8mBSzhJd6aflphPmcK1Em8bw=",
205
+
"rev": "6edcf02205fd1e8979dc3f3964257a81959b80c8",
206
+
"url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2"
207
+
},
208
+
"fetcher": "fetchFromGitiles"
209
+
},
210
+
"src/third_party/glslang/src": {
211
+
"args": {
212
+
"hash": "sha256-kfboAzNtplxcedYVt2F10Iqfp404amk/JkFt76gtuk0=",
213
+
"rev": "21b4e37133868b3a50ef15fc027ecd6d3a52c875",
214
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang"
215
+
},
216
+
"fetcher": "fetchFromGitiles"
217
+
},
218
+
"src/third_party/googletest": {
219
+
"args": {
220
+
"hash": "sha256-88lAwz2c3HgFdO1tmPrp/StXfSSAZnvUAUgaTcwdFQA=",
221
+
"rev": "17bbed2084d3127bd7bcd27283f18d7a5861bea8",
222
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/googletest"
223
+
},
224
+
"fetcher": "fetchFromGitiles"
225
+
},
226
+
"src/third_party/googletest/src": {
227
+
"args": {
228
+
"hash": "sha256-VuOfUPwl3QHtxjGfWq2tjObutncRoOjEJoY1ET+4pNI=",
229
+
"rev": "2d924d7a971e9667d76ad09727fb2402b4f8a1e3",
230
+
"url": "https://chromium.googlesource.com/external/github.com/google/googletest.git"
231
+
},
232
+
"fetcher": "fetchFromGitiles"
233
+
},
234
+
"src/third_party/jinja2": {
235
+
"args": {
236
+
"hash": "sha256-RhNDCE9d9ik/YNF0CSrSoBvpeGi04y3ChIY2c66lJpo=",
237
+
"rev": "c3027d884967773057bf74b957e3fea87e5df4d7",
238
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/jinja2"
239
+
},
240
+
"fetcher": "fetchFromGitiles"
241
+
},
242
+
"src/third_party/jsoncpp": {
243
+
"args": {
244
+
"hash": "sha256-QdWSlzvgtOkr2dRRhkDz64InkDsVOXx43q9ABzrdFMo=",
245
+
"rev": "f62d44704b4da6014aa231cfc116e7fd29617d2a",
246
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/jsoncpp"
247
+
},
248
+
"fetcher": "fetchFromGitiles"
249
+
},
250
+
"src/third_party/jsoncpp/source": {
251
+
"args": {
252
+
"hash": "sha256-bSLNcoYBz3QCt5VuTR056V9mU2PmBuYBa0W6hFg2m8Q=",
253
+
"rev": "42e892d96e47b1f6e29844cc705e148ec4856448",
254
+
"url": "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git"
255
+
},
256
+
"fetcher": "fetchFromGitiles"
257
+
},
258
+
"src/third_party/libc++/src": {
259
+
"args": {
260
+
"hash": "sha256-WbEMS4wowBw1j7UT/5G5DSmgy5ldmdjxMszYtobr9UI=",
261
+
"rev": "2c359c239b138a20a03f798e47889448ef131c22",
262
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git"
263
+
},
264
+
"fetcher": "fetchFromGitiles"
265
+
},
266
+
"src/third_party/libc++abi/src": {
267
+
"args": {
268
+
"hash": "sha256-WIJAAHO+n6C5N7nyw8m8xGXr/OXvRGfsScBBdUyjxyg=",
269
+
"rev": "e44c3c4560f1742744ef3f9fb4217a5f26ebca1b",
270
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git"
271
+
},
272
+
"fetcher": "fetchFromGitiles"
273
+
},
274
+
"src/third_party/libdrm/src": {
275
+
"args": {
276
+
"hash": "sha256-woSYEDUfcEBpYOYnli13wLMt754A7KnUbmTEcFQdFGw=",
277
+
"rev": "ad78bb591d02162d3b90890aa4d0a238b2a37cde",
278
+
"url": "https://chromium.googlesource.com/chromiumos/third_party/libdrm.git"
279
+
},
280
+
"fetcher": "fetchFromGitiles"
281
+
},
282
+
"src/third_party/libjpeg_turbo": {
283
+
"args": {
284
+
"hash": "sha256-Ig+tmprZDvlf/M72/DTar2pbxat9ZElgSqdXdoM0lPs=",
285
+
"rev": "e14cbfaa85529d47f9f55b0f104a579c1061f9ad",
286
+
"url": "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git"
287
+
},
288
+
"fetcher": "fetchFromGitiles"
289
+
},
290
+
"src/third_party/libpng/src": {
291
+
"args": {
292
+
"hash": "sha256-ATde609XPHqSrT3www6M+pA1qd69hVhhW6wSMCIrJnM=",
293
+
"rev": "8cc222cd3e79fa5190f3aa039a03a4cbea6cfbe7",
294
+
"url": "https://android.googlesource.com/platform/external/libpng"
295
+
},
296
+
"fetcher": "fetchFromGitiles"
297
+
},
298
+
"src/third_party/libunwind/src": {
299
+
"args": {
300
+
"hash": "sha256-hpOxKXZkZEWNptp31B1DZ8V9E7LsRbbYdPdUD7EYA+8=",
301
+
"rev": "5bbf35ae6801f579c523893176789774c0726e22",
302
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git"
303
+
},
304
+
"fetcher": "fetchFromGitiles"
305
+
},
306
+
"src/third_party/llvm-libc/src": {
307
+
"args": {
308
+
"hash": "sha256-tZDU/6mtjT8ZVIzahA4q9fqs5a2IYAGw/m9jO99tDcI=",
309
+
"rev": "3dc83eebbdc6adf43831985d410fb451d385a5b1",
310
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git"
311
+
},
312
+
"fetcher": "fetchFromGitiles"
313
+
},
314
+
"src/third_party/llvm/src": {
315
+
"args": {
316
+
"hash": "sha256-Oc8TvPj4hRrA7Dj8s7qx2bscLeKxZ8wpWtFfB9C6XF4=",
317
+
"rev": "1fd8d3fea53e6e4573cdce55bd38ef0a7813a442",
318
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project"
319
+
},
320
+
"fetcher": "fetchFromGitiles"
321
+
},
322
+
"src/third_party/lunarg-vulkantools/src": {
323
+
"args": {
324
+
"hash": "sha256-eYqBAet7SnTjouzEkJNr/eaMg+PxRAz9arZpAyeItM0=",
325
+
"rev": "da60ac4327af194dfa773a07db6cd5d5aaa6848d",
326
+
"url": "https://chromium.googlesource.com/external/github.com/LunarG/VulkanTools"
327
+
},
328
+
"fetcher": "fetchFromGitiles"
329
+
},
330
+
"src/third_party/markupsafe": {
331
+
"args": {
332
+
"hash": "sha256-mYsC/xZHpAbP/US2VRAfCYm0JeJ03is38S9s2KuA9PI=",
333
+
"rev": "4256084ae14175d38a3ff7d739dca83ae49ccec6",
334
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/markupsafe"
335
+
},
336
+
"fetcher": "fetchFromGitiles"
337
+
},
338
+
"src/third_party/nasm": {
339
+
"args": {
340
+
"hash": "sha256-TxzAcp+CoKnnM0lCGjm+L3h6M30vYHjM07vW6zUe/vY=",
341
+
"rev": "e2c93c34982b286b27ce8b56dd7159e0b90869a2",
342
+
"url": "https://chromium.googlesource.com/chromium/deps/nasm.git"
343
+
},
344
+
"fetcher": "fetchFromGitiles"
345
+
},
346
+
"src/third_party/protobuf": {
347
+
"args": {
348
+
"hash": "sha256-JZU7ZqE8eE2M1urS4H6HM/jwEmjqp0XLEqPmbzE7dO4=",
349
+
"rev": "e0f7527112a9310b608afa49affe72e810697dce",
350
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/protobuf"
351
+
},
352
+
"fetcher": "fetchFromGitiles"
353
+
},
354
+
"src/third_party/rapidjson/src": {
355
+
"args": {
356
+
"hash": "sha256-btUl1a/B0sXwf/+hyvCvVJjWqIkXfVYCpHm3TeBuOxk=",
357
+
"rev": "781a4e667d84aeedbeb8184b7b62425ea66ec59f",
358
+
"url": "https://chromium.googlesource.com/external/github.com/Tencent/rapidjson"
359
+
},
360
+
"fetcher": "fetchFromGitiles"
361
+
},
362
+
"src/third_party/rust": {
363
+
"args": {
364
+
"hash": "sha256-VXXPaj8XiSKbGa7eU5daq1AvwfjN7hhbpnHx/WL8OZk=",
365
+
"rev": "274de19b1d9b411b98b81672d1e300c86aaa2601",
366
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/rust"
367
+
},
368
+
"fetcher": "fetchFromGitiles"
369
+
},
370
+
"src/third_party/spirv-cross/src": {
371
+
"args": {
372
+
"hash": "sha256-H43M9DXfEuyKuvo6rjb5k0KEbYOSFodbPJh8ZKY4PQg=",
373
+
"rev": "b8fcf307f1f347089e3c46eb4451d27f32ebc8d3",
374
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross"
375
+
},
376
+
"fetcher": "fetchFromGitiles"
377
+
},
378
+
"src/third_party/spirv-headers/src": {
379
+
"args": {
380
+
"hash": "sha256-LRjMy9xtOErbJbMh+g2IKXfmo/hWpegZM72F8E122oY=",
381
+
"rev": "2a611a970fdbc41ac2e3e328802aed9985352dca",
382
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers"
383
+
},
384
+
"fetcher": "fetchFromGitiles"
385
+
},
386
+
"src/third_party/spirv-tools/src": {
387
+
"args": {
388
+
"hash": "sha256-EPD+1RX4lCulEua4WfLTIqlDGCnxDRnRcH2a+pSI6mk=",
389
+
"rev": "108b19e5c6979f496deffad4acbe354237afa7d3",
390
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools"
391
+
},
392
+
"fetcher": "fetchFromGitiles"
393
+
},
394
+
"src/third_party/vulkan-deps": {
395
+
"args": {
396
+
"hash": "sha256-hXZs4L+XaHog/CyjX5WYP+2dl9WL3e/A8ql4xWEtwtI=",
397
+
"rev": "317a1e4780ef130e7b92fc287cf390ac2aff0c22",
398
+
"url": "https://chromium.googlesource.com/vulkan-deps"
399
+
},
400
+
"fetcher": "fetchFromGitiles"
401
+
},
402
+
"src/third_party/vulkan-headers/src": {
403
+
"args": {
404
+
"hash": "sha256-OorBl9vIN4DqVgT8ae+05yCLon7m0ixQczEzDlpwFRI=",
405
+
"rev": "10739e8e00a7b6f74d22dd0a547f1406ff1f5eb9",
406
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers"
407
+
},
408
+
"fetcher": "fetchFromGitiles"
409
+
},
410
+
"src/third_party/vulkan-loader/src": {
411
+
"args": {
412
+
"hash": "sha256-j9LAqdwI3+D6CY6a6CcFK85Cd3xxdjnhLSycuqZDGN0=",
413
+
"rev": "c8a2c8c9164a58ce71c1c77104e28e8de724539e",
414
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader"
415
+
},
416
+
"fetcher": "fetchFromGitiles"
417
+
},
418
+
"src/third_party/vulkan-tools/src": {
419
+
"args": {
420
+
"hash": "sha256-EqLG8kMQx6nHX9iZMrsu0fn1z4nY6TEQ/feTINNbUzQ=",
421
+
"rev": "e3fc64396755191b3c51e5c57d0454872e7fa487",
422
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools"
423
+
},
424
+
"fetcher": "fetchFromGitiles"
425
+
},
426
+
"src/third_party/vulkan-utility-libraries/src": {
427
+
"args": {
428
+
"hash": "sha256-pQJln43t4U1VXJ2mpdRoUhOKyBTH0QePIMOy5f/0GXU=",
429
+
"rev": "0f0babb553a60da5971d9f4d40cf720ce01602f1",
430
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries"
431
+
},
432
+
"fetcher": "fetchFromGitiles"
433
+
},
434
+
"src/third_party/vulkan-validation-layers/src": {
435
+
"args": {
436
+
"hash": "sha256-yGciJW5vKvxdybz5jDo7LSw9K0d+oKr7/Yg/fBRTd4A=",
437
+
"rev": "89c6a9b6500e2e0bda127113bbfe1d70f1ab2d20",
438
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers"
439
+
},
440
+
"fetcher": "fetchFromGitiles"
441
+
},
442
+
"src/third_party/vulkan_memory_allocator": {
443
+
"args": {
444
+
"hash": "sha256-YzxHZagz/M8Y54UnI4h1wu5jSTuaOgv0ifC9d3fJZlQ=",
445
+
"rev": "56300b29fbfcc693ee6609ddad3fdd5b7a449a21",
446
+
"url": "https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator"
447
+
},
448
+
"fetcher": "fetchFromGitiles"
449
+
},
450
+
"src/third_party/zlib": {
451
+
"args": {
452
+
"hash": "sha256-MEUIIrlH4gBebO58sPhPLbRX+BeXo1SelJqhZAQk+wQ=",
453
+
"rev": "4028ebf8710ee39d2286cb0f847f9b95c59f84d8",
454
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/zlib"
455
+
},
456
+
"fetcher": "fetchFromGitiles"
457
+
},
458
+
"src/tools/clang": {
459
+
"args": {
460
+
"hash": "sha256-3wLCPt0tqVVcojJWy7c1Z6a+b026kW6fha4Jg3ulScc=",
461
+
"rev": "ae0ff7090810342e6c7c378521bd78e79ed63bad",
462
+
"url": "https://chromium.googlesource.com/chromium/src/tools/clang.git"
463
+
},
464
+
"fetcher": "fetchFromGitiles"
465
+
},
466
+
"src/tools/mb": {
467
+
"args": {
468
+
"hash": "sha256-/hBZV38mn6/lj28AsJ0/SzcgaTJGH5IxoNXtJ8XhQVE=",
469
+
"rev": "1c0b50128bb1eee3d40731733ecae62f0e3ee40a",
470
+
"url": "https://chromium.googlesource.com/chromium/src/tools/mb"
471
+
},
472
+
"fetcher": "fetchFromGitiles"
473
+
},
474
+
"src/tools/md_browser": {
475
+
"args": {
476
+
"hash": "sha256-QJC7tI2CHE1Y9F42dgblPirUhS69s2P6qULrfDm2f7M=",
477
+
"rev": "6cc8e58a83412dc31de6fb7614fadb0b51748d4b",
478
+
"url": "https://chromium.googlesource.com/chromium/src/tools/md_browser"
479
+
},
480
+
"fetcher": "fetchFromGitiles"
481
+
},
482
+
"src/tools/memory": {
483
+
"args": {
484
+
"hash": "sha256-i5VVlfkKvymItH5S0d4eER+I6A4omMk3XrDNoGwnzmo=",
485
+
"rev": "cc38b4b04fbf942926366f420c43afb9e9ab364b",
486
+
"url": "https://chromium.googlesource.com/chromium/src/tools/memory"
487
+
},
488
+
"fetcher": "fetchFromGitiles"
489
+
},
490
+
"src/tools/perf": {
491
+
"args": {
492
+
"hash": "sha256-4qQcqlY1QcNk+wSL7on9Lc8101txQv3Usanprw/oVv4=",
493
+
"rev": "bd0baf9e31a384c4ff99b8911be4c07772ad513c",
494
+
"url": "https://chromium.googlesource.com/chromium/src/tools/perf"
495
+
},
496
+
"fetcher": "fetchFromGitiles"
497
+
},
498
+
"src/tools/protoc_wrapper": {
499
+
"args": {
500
+
"hash": "sha256-f8lpjbB7VnQQcDBSzxFbOroYjxprX+fU6fpl2Z3B3l8=",
501
+
"rev": "502dcad5230ec1da544e7720b15d91782f040d9f",
502
+
"url": "https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper"
503
+
},
504
+
"fetcher": "fetchFromGitiles"
505
+
},
506
+
"src/tools/rust": {
507
+
"args": {
508
+
"hash": "sha256-ejYbEIlLpgdRedFVmZ9K8x3B//23BATw6w/n68mGBaI=",
509
+
"rev": "6c0ba3465b64d460de7426b707dcc73939a2226f",
510
+
"url": "https://chromium.googlesource.com/chromium/src/tools/rust.git"
511
+
},
512
+
"fetcher": "fetchFromGitiles"
513
+
},
514
+
"src/tools/valgrind": {
515
+
"args": {
516
+
"hash": "sha256-EBcH7f6lRPBYKX9NeaLShWPL1eeJhBDxJkR61OrFydU=",
517
+
"rev": "5ba62550b2f3d4d97974ebcdb4f8462e4ba14af2",
518
+
"url": "https://chromium.googlesource.com/chromium/src/tools/valgrind"
519
+
},
520
+
"fetcher": "fetchFromGitiles"
521
+
}
522
+
}
+159
pkgs/by-name/an/angle/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
stdenv,
3
+
gn,
4
+
ninja,
5
+
llvmPackages_21,
6
+
gclient2nix,
7
+
pkg-config,
8
+
glib,
9
+
python3,
10
+
symlinkJoin,
11
+
lib,
12
+
xorg,
13
+
wayland,
14
+
pciutils,
15
+
libGL,
16
+
}:
17
+
let
18
+
llvmPackages = llvmPackages_21;
19
+
llvmMajorVersion = lib.versions.major llvmPackages.llvm.version;
20
+
arch = stdenv.hostPlatform.parsed.cpu.name;
21
+
triplet = lib.getAttr arch {
22
+
"x86_64" = "x86_64-unknown-linux-gnu";
23
+
"aarch64" = "aarch64-unknown-linux-gnu";
24
+
};
25
+
26
+
clang = symlinkJoin {
27
+
name = "angle-clang-llvm-join";
28
+
paths = [
29
+
llvmPackages.llvm
30
+
llvmPackages.clang
31
+
];
32
+
postBuild = ''
33
+
mkdir -p $out/lib/clang/${llvmMajorVersion}/lib/
34
+
ln -s $out/resource-root/lib/linux \
35
+
$out/lib/clang/${llvmMajorVersion}/lib/${triplet}
36
+
'';
37
+
};
38
+
in
39
+
stdenv.mkDerivation (finalAttrs: {
40
+
pname = "angle";
41
+
version = "7258";
42
+
43
+
gclientDeps = gclient2nix.importGclientDeps ./info.json;
44
+
sourceRoot = "src";
45
+
strictDeps = true;
46
+
47
+
nativeBuildInputs = [
48
+
gn
49
+
ninja
50
+
gclient2nix.gclientUnpackHook
51
+
pkg-config
52
+
python3
53
+
llvmPackages.bintools
54
+
];
55
+
56
+
buildInputs = [
57
+
glib
58
+
xorg.libxcb.dev
59
+
xorg.libX11.dev
60
+
xorg.libXext.dev
61
+
xorg.libXi
62
+
wayland.dev
63
+
pciutils
64
+
libGL
65
+
];
66
+
67
+
gnFlags = [
68
+
"is_debug=false"
69
+
"use_sysroot=false"
70
+
"clang_base_path=\"${clang}\""
71
+
"angle_build_tests=false"
72
+
"concurrent_links=1"
73
+
"use_custom_libcxx=true"
74
+
"angle_enable_swiftshader=false"
75
+
"angle_enable_wgpu=false"
76
+
];
77
+
78
+
patches = [
79
+
# https://issues.chromium.org/issues/432275627
80
+
# https://chromium-review.googlesource.com/c/chromium/src/+/6761936/2/build/config/compiler/BUILD.gn
81
+
./fix-uninitialized-const-pointer-error-001.patch
82
+
];
83
+
84
+
postPatch = ''
85
+
substituteInPlace build/config/clang/BUILD.gn \
86
+
--replace-fail \
87
+
"_dir = \"${triplet}\"" \
88
+
"_dir = \"${triplet}\"
89
+
_suffix = \"-${arch}\""
90
+
91
+
cat > build/config/gclient_args.gni <<EOF
92
+
# Generated from 'DEPS'
93
+
checkout_angle_internal = false
94
+
checkout_angle_mesa = false
95
+
checkout_angle_restricted_traces = false
96
+
generate_location_tags = false
97
+
EOF
98
+
'';
99
+
100
+
installPhase = ''
101
+
runHook preInstallPhase
102
+
103
+
install -v -m755 -D *.so *.so.1 -t "$out/lib"
104
+
install -v -m755 -D \
105
+
angle_shader_translator \
106
+
gaussian_distribution_gentables \
107
+
-t "$out/bin"
108
+
109
+
cp -rv ../../include "$out"
110
+
111
+
mkdir -p $out/lib/pkgconfig
112
+
113
+
cat > $out/lib/pkgconfig/angle.pc <<EOF
114
+
prefix=${placeholder "out"}
115
+
exec_prefix=''${prefix}
116
+
libdir=''${prefix}/lib
117
+
includedir=''${prefix}/include
118
+
119
+
Name: angle
120
+
Description: ${finalAttrs.meta.description}
121
+
122
+
URL: ${finalAttrs.meta.homepage}
123
+
Version: ${lib.versions.major finalAttrs.version}
124
+
Libs: -L''${libdir} -l${
125
+
lib.concatStringsSep " -l" [
126
+
"EGL"
127
+
"EGL_vulkan_secondaries"
128
+
"GLESv1_CM"
129
+
"GLESv2"
130
+
"GLESv2_vulkan_secondaries"
131
+
"GLESv2_with_capture"
132
+
"VkICD_mock_icd"
133
+
"feature_support"
134
+
]
135
+
}
136
+
Cflags: -I''${includedir}
137
+
EOF
138
+
139
+
runHook postInstallPhase
140
+
'';
141
+
142
+
meta = {
143
+
description = "Conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android";
144
+
longDescription = ''
145
+
The goal of ANGLE is to allow users of multiple operating systems
146
+
to seamlessly run WebGL and other OpenGL ES content by translating
147
+
OpenGL ES API calls to one of the hardware-supported APIs available
148
+
for that platform.
149
+
'';
150
+
homepage = "https://angleproject.org";
151
+
maintainers = with lib.maintainers; [
152
+
jess
153
+
jk
154
+
];
155
+
license = lib.licenses.bsd3;
156
+
platforms = lib.platforms.linux ++ lib.platforms.darwin;
157
+
broken = stdenv.hostPlatform.isDarwin;
158
+
};
159
+
})