11 "src" = fetchFromGitHub {
14 rev = "dac8015ce039c8658706b222746808f01968256b";
15 hash = "sha256-T5syfRzX/LfvEllVurzZPKffkciTd2inUEC2py78ZPA=";
17 "src/base" = fetchFromGitiles {
18 url = "https://chromium.googlesource.com/chromium/src/base";
19 rev = "fe22033c21d399a340b3f4604722463d9da25c6e";
20 hash = "sha256-iqtcXEtmCNioKRxfTCwiU/NG0xlQ1R/6GE1M6qC0XTU=";
22 "src/build" = fetchFromGitiles {
23 url = "https://chromium.googlesource.com/chromium/src/build";
24 rev = "a9d28a095c8b349f8319ee0d241a78e2c849928f";
25 hash = "sha256-5NguoLWm6v68fpyHK6SYbM6vHdaOT0quks5/SPW0XOI=";
27 "src/buildtools" = fetchFromGitiles {
28 url = "https://chromium.googlesource.com/chromium/src/buildtools";
29 rev = "539a6f68735c631f57ae33096e9e7fc059e049cf";
30 hash = "sha256-1u4BQqXcW4Z9LPx7lMjBLK8ouKkyb576FRvB2LGwf7Q=";
32 "src/testing" = fetchFromGitiles {
33 url = "https://chromium.googlesource.com/chromium/src/testing";
34 rev = "ee4801b4e9c2d945fff5236d8518511e6c00a29e";
35 hash = "sha256-xUfPwWVPoLxlCWHFKLWtRC1kVJgLgcvSoXPYmrseCXE=";
37 "src/third_party" = fetchFromGitiles {
38 url = "https://chromium.googlesource.com/chromium/src/third_party";
39 rev = "4f8bf4c6885ab577c7577c4cdd11d04eaf78e9ca";
40 hash = "sha256-4ehEerUw9IvghdPPrrh+WCm/XEpVe5PjjIRbQZpIsbY=";
42 "src/buildtools/clang_format/script" = fetchFromGitiles {
43 url = "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format";
44 rev = "f97059df7f8b205064625cdb5f97b56668a125ef";
45 hash = "sha256-IL6ReGM6+urkXfGYe1BBOv+0XgCZv5i3Lib1q9COhig=";
47 "src/buildtools/third_party/libc++/trunk" = fetchFromGitiles {
48 url = "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx";
49 rev = "bff81b702ff4b7f74b1c0ed02a4bcf6c2744a90b";
50 hash = "sha256-i/FGU9F7HlGJJuwoFMV4V05pf4pvsqNxrPBN223YjZQ=";
52 "src/buildtools/third_party/libc++abi/trunk" = fetchFromGitiles {
53 url = "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi";
54 rev = "307bd163607c315d46103ebe1d68aab44bf93986";
55 hash = "sha256-Zka8AHFtHA4AC/Pbzc3pVqz/k2GYZYc8CeP1IXxGBUM=";
57 "src/buildtools/third_party/libunwind/trunk" = fetchFromGitiles {
58 url = "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind";
59 rev = "2795322d57001de8125cfdf18cef804acff69e35";
60 hash = "sha256-u6FMD83JBBusQuWU7Hx5HREvLIFWUA4iN4If8poaHbE=";
62 "src/third_party/boringssl/src" = fetchFromGitiles {
63 url = "https://boringssl.googlesource.com/boringssl";
64 rev = "6776d5cd8fcdf6c5e05bae2d655076dbeaa56103";
65 hash = "sha256-KvQhpkn1pGQ/xPbkHcGgTTvL3GGRL1TfdSPYgfNn5bU=";
67 "src/third_party/breakpad/breakpad" = fetchFromGitiles {
68 url = "https://chromium.googlesource.com/breakpad/breakpad";
69 rev = "9bf8d1ec526cec139b2d3fba148ce81ccf2cceab";
70 hash = "sha256-c3/ksp01+cmSyzaD5SF0Lnnw+t78RwZAKCJnwg1NGXU=";
72 "src/third_party/catapult" = fetchFromGitiles {
73 url = "https://chromium.googlesource.com/catapult";
74 rev = "cae7ec667dee9f5c012b54ee9ffee94eb7beda14";
75 hash = "sha256-vK7rlGshfzPzaEdAxlP5vQ4USR/fC3BzPCh/rn0aAf4=";
77 "src/third_party/ced/src" = fetchFromGitiles {
78 url = "https://chromium.googlesource.com/external/github.com/google/compact_enc_det";
79 rev = "ba412eaaacd3186085babcd901679a48863c7dd5";
80 hash = "sha256-ySG74Rj2i2c/PltEgHVEDq+N8yd9gZmxNktc56zIUiY=";
82 "src/third_party/colorama/src" = fetchFromGitiles {
83 url = "https://chromium.googlesource.com/external/colorama";
84 rev = "3de9f013df4b470069d03d250224062e8cf15c49";
85 hash = "sha256-6ZTdPYSHdQOLYMSnE+Tp7PgsVTs3U2awGu9Qb4Rg/tk=";
87 "src/third_party/crc32c/src" = fetchFromGitiles {
88 url = "https://chromium.googlesource.com/external/github.com/google/crc32c";
89 rev = "fa5ade41ee480003d9c5af6f43567ba22e4e17e6";
90 hash = "sha256-urg0bmnfMfHagLPELp4WrNCz1gBZ6DFOWpDue1KsMtc=";
92 "src/third_party/depot_tools" = fetchFromGitiles {
93 url = "https://chromium.googlesource.com/chromium/tools/depot_tools";
94 rev = "6e714e6dfe62110c95fafed4bdeb365a69c6a77e";
95 hash = "sha256-7jPow77ejToE55KvQ7/eO0alMdMHcypfSyPceFAbZkw=";
97 "src/third_party/ffmpeg" = fetchFromGitiles {
98 url = "https://chromium.googlesource.com/chromium/third_party/ffmpeg";
99 rev = "8d21d41d8bec5c0b266ee305d1a708dc5c23b594";
100 hash = "sha256-UjrZJBtOQiiqxtLb8x24axord3OFvyCcRcgDwiYE/jw=";
102 "src/third_party/flatbuffers/src" = fetchFromGitiles {
103 url = "https://chromium.googlesource.com/external/github.com/google/flatbuffers";
104 rev = "a56f9ec50e908362e20254fcef28e62a2f148d91";
105 hash = "sha256-OQ8E+i30WRz/lPJmVDiF7+TPo4gZVu2Of9loxz3tswI=";
107 "src/third_party/grpc/src" = fetchFromGitiles {
108 url = "https://chromium.googlesource.com/external/github.com/grpc/grpc";
109 rev = "822dab21d9995c5cf942476b35ca12a1aa9d2737";
110 hash = "sha256-64JEVCx/PCM0dvv7kAQvSjLc0QbRAZVBDzwD/FAV6T8=";
112 "src/third_party/fontconfig/src" = fetchFromGitiles {
113 url = "https://chromium.googlesource.com/external/fontconfig";
114 rev = "06929a556fdc39c8fe12965b69070c8df520a33e";
115 hash = "sha256-0R+FEhtGXFiQWHEPRrJqaBW1JVfCojYI4NPDvYMBhoU=";
117 "src/third_party/freetype/src" = fetchFromGitiles {
118 url = "https://chromium.googlesource.com/chromium/src/third_party/freetype2";
119 rev = "9806414c15230d253d5219ea0dafeddb717307b1";
120 hash = "sha256-UbWtRb24U7Cv+PecVtoNG33Q1ItmkvssmW8Bh8qlFvA=";
122 "src/third_party/harfbuzz-ng/src" = fetchFromGitiles {
123 url = "https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz";
124 rev = "2822b589bc837fae6f66233e2cf2eef0f6ce8470";
125 hash = "sha256-qwtRORl/Pu4M9EvW8MdK8onFMCw/4+57FEBjoNt4qoY=";
127 "src/third_party/google_benchmark/src" = fetchFromGitiles {
128 url = "https://chromium.googlesource.com/external/github.com/google/benchmark";
129 rev = "b177433f3ee2513b1075140c723d73ab8901790f";
130 hash = "sha256-h2ryAQAuHI54Cni88L85e7Np4KATGVTRdDcmUvCNeWc=";
132 "src/third_party/gtest-parallel" = fetchFromGitiles {
133 url = "https://chromium.googlesource.com/external/github.com/google/gtest-parallel";
134 rev = "f4d65b555894b301699c7c3c52906f72ea052e83";
135 hash = "sha256-dzWXJHPb8RHqxoi/gA9npwnjAsT8gg7A90g/dx8LVwQ=";
137 "src/third_party/googletest/src" = fetchFromGitiles {
138 url = "https://chromium.googlesource.com/external/github.com/google/googletest";
139 rev = "af29db7ec28d6df1c7f0f745186884091e602e07";
140 hash = "sha256-VYRjcM3dDY2FarviXyFMgSkXCqKfWXwtGAj2Msgm7zg=";
142 "src/third_party/icu" = fetchFromGitiles {
143 url = "https://chromium.googlesource.com/chromium/deps/icu";
144 rev = "d8daa943f64cd5dd2a55e9baf2e655ab4bfa5ae9";
145 hash = "sha256-47Xxb5IFbRmdO3oADjn13fm7aIYFXh2R4YVZIJAy22U=";
147 "src/third_party/jsoncpp/source" = fetchFromGitiles {
148 url = "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp";
149 rev = "42e892d96e47b1f6e29844cc705e148ec4856448";
150 hash = "sha256-bSLNcoYBz3QCt5VuTR056V9mU2PmBuYBa0W6hFg2m8Q=";
152 "src/third_party/libFuzzer/src" = fetchFromGitiles {
153 url = "https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer";
154 rev = "debe7d2d1982e540fbd6bd78604bf001753f9e74";
155 hash = "sha256-HG3KHhKQnr4hdnUK/2QhcxRdNxh38fhU54JKKzqZaio=";
157 "src/third_party/libjpeg_turbo" = fetchFromGitiles {
158 url = "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo";
159 rev = "aa4075f116e4312537d0d3e9dbd5e31096539f94";
160 hash = "sha256-QnXMR9qqRiYfV1sUJvKVvLQ9A022lYKbsrI9HOU9LCs=";
162 "src/third_party/libsrtp" = fetchFromGitiles {
163 url = "https://chromium.googlesource.com/chromium/deps/libsrtp";
164 rev = "5b7c744eb8310250ccc534f3f86a2015b3887a0a";
165 hash = "sha256-pfLFh2JGk/g0ZZxBKTaYW9/PBpkCm0rtJeyNePUMTTc=";
167 "src/third_party/dav1d/libdav1d" = fetchFromGitiles {
168 url = "https://chromium.googlesource.com/external/github.com/videolan/dav1d";
169 rev = "d426d1c91075b9c552b12dd052af1cd0368f05a2";
170 hash = "sha256-FivzwqCvlY89q2znGvfNks+hje/iUFHcKPb19FyAZhM=";
172 "src/third_party/libaom/source/libaom" = fetchFromGitiles {
173 url = "https://aomedia.googlesource.com/aom";
174 rev = "5a0903824082f41123e8365b5b99ddb6ced8971c";
175 hash = "sha256-j8b0xM7hHNqYIeUQjf+c7LyzcfZVJx64Xqo9gIRtsYU=";
177 "src/third_party/perfetto" = fetchFromGitiles {
178 url = "https://android.googlesource.com/platform/external/perfetto";
179 rev = "20b114cd063623e63ef1b0a31167d60081567e51";
180 hash = "sha256-6BpUd+BplRR/0eUIYz5SehzrpNHPfUm2Qv6U1+Mxy8g=";
182 "src/third_party/libvpx/source/libvpx" = fetchFromGitiles {
183 url = "https://chromium.googlesource.com/webm/libvpx";
184 rev = "7aaffe2df4c9426ab204a272ca5ca52286ca86d4";
185 hash = "sha256-Uis24FzUtM38ktPG/wDJLiHZYmpmYFGbuQ/SWnmZJSA=";
187 "src/third_party/libyuv" = fetchFromGitiles {
188 url = "https://chromium.googlesource.com/libyuv/libyuv";
189 rev = "77c2121f7e6b8e694d6e908bbbe9be24214097da";
190 hash = "sha256-LLmTW05GxoXgNkLRHp3e6gb7glMgJo1moc6lPLVHk6w=";
192 "src/third_party/lss" = fetchFromGitiles {
193 url = "https://chromium.googlesource.com/linux-syscall-support";
194 rev = "ce877209e11aa69dcfffbd53ef90ea1d07136521";
195 hash = "sha256-hE8uZf9Fst66qJkoVYChiB8G41ie+k9M4X0W+5JUSdw=";
197 "src/third_party/nasm" = fetchFromGitiles {
198 url = "https://chromium.googlesource.com/chromium/deps/nasm";
199 rev = "7fc833e889d1afda72c06220e5bed8fb43b2e5ce";
200 hash = "sha256-L+b3X3vsfpY6FSlIK/AHhxhmq2cXd50vND6uT6yn8Qs=";
202 "src/third_party/openh264/src" = fetchFromGitiles {
203 url = "https://chromium.googlesource.com/external/github.com/cisco/openh264";
204 rev = "09a4f3ec842a8932341b195c5b01e141c8a16eb7";
205 hash = "sha256-J7Eqe2QevZh1xfap19W8AVCcwfRu7ztknnbKFJUAH1c=";
207 "src/tools" = fetchFromGitiles {
208 url = "https://chromium.googlesource.com/chromium/src/tools";
209 rev = "bafae7909cbbcd277d29c0da0809001a8d6f4a14";
210 hash = "sha256-MK5M9RrX+cX4S7vsMgNVQ2YkNbEuvizKueuc1mA5jyU=";
213 namedSourceDerivations = builtins.mapAttrs (
216 name = lib.strings.sanitizeDerivationName path;
220 runCommand "combined-sources" { } (
223 ++ (lib.mapAttrsToList (path: drv: ''
224 mkdir -p $out/${path}
225 cp --no-preserve=mode --reflink=auto -rfT ${drv} $out/${path}
226 '') namedSourceDerivations)