lol

krakatau2: init at 0-unstable-2025-02-01 (#394168)

authored by

Ryan Hendrickson and committed by
GitHub
cde4eab0 1f28ac4d

+487
+448
pkgs/by-name/kr/krakatau2/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "adler2" 7 + version = "2.0.0" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 10 + 11 + [[package]] 12 + name = "aho-corasick" 13 + version = "1.1.3" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 16 + dependencies = [ 17 + "memchr", 18 + ] 19 + 20 + [[package]] 21 + name = "anyhow" 22 + version = "1.0.97" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" 25 + 26 + [[package]] 27 + name = "atty" 28 + version = "0.2.14" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 31 + dependencies = [ 32 + "hermit-abi", 33 + "libc", 34 + "winapi", 35 + ] 36 + 37 + [[package]] 38 + name = "autocfg" 39 + version = "1.4.0" 40 + source = "registry+https://github.com/rust-lang/crates.io-index" 41 + checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 42 + 43 + [[package]] 44 + name = "bitflags" 45 + version = "1.3.2" 46 + source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 48 + 49 + [[package]] 50 + name = "byteorder" 51 + version = "1.5.0" 52 + source = "registry+https://github.com/rust-lang/crates.io-index" 53 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 54 + 55 + [[package]] 56 + name = "cfg-if" 57 + version = "1.0.0" 58 + source = "registry+https://github.com/rust-lang/crates.io-index" 59 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 60 + 61 + [[package]] 62 + name = "clap" 63 + version = "3.2.25" 64 + source = "registry+https://github.com/rust-lang/crates.io-index" 65 + checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" 66 + dependencies = [ 67 + "atty", 68 + "bitflags", 69 + "clap_derive", 70 + "clap_lex", 71 + "indexmap", 72 + "once_cell", 73 + "strsim", 74 + "termcolor", 75 + "textwrap", 76 + ] 77 + 78 + [[package]] 79 + name = "clap_derive" 80 + version = "3.2.25" 81 + source = "registry+https://github.com/rust-lang/crates.io-index" 82 + checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" 83 + dependencies = [ 84 + "heck", 85 + "proc-macro-error", 86 + "proc-macro2", 87 + "quote", 88 + "syn", 89 + ] 90 + 91 + [[package]] 92 + name = "clap_lex" 93 + version = "0.2.4" 94 + source = "registry+https://github.com/rust-lang/crates.io-index" 95 + checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" 96 + dependencies = [ 97 + "os_str_bytes", 98 + ] 99 + 100 + [[package]] 101 + name = "crc32fast" 102 + version = "1.4.2" 103 + source = "registry+https://github.com/rust-lang/crates.io-index" 104 + checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 105 + dependencies = [ 106 + "cfg-if", 107 + ] 108 + 109 + [[package]] 110 + name = "crossbeam-utils" 111 + version = "0.8.21" 112 + source = "registry+https://github.com/rust-lang/crates.io-index" 113 + checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 114 + 115 + [[package]] 116 + name = "flate2" 117 + version = "1.1.0" 118 + source = "registry+https://github.com/rust-lang/crates.io-index" 119 + checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc" 120 + dependencies = [ 121 + "crc32fast", 122 + "miniz_oxide", 123 + ] 124 + 125 + [[package]] 126 + name = "hashbrown" 127 + version = "0.12.3" 128 + source = "registry+https://github.com/rust-lang/crates.io-index" 129 + checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 130 + 131 + [[package]] 132 + name = "heck" 133 + version = "0.4.1" 134 + source = "registry+https://github.com/rust-lang/crates.io-index" 135 + checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 136 + 137 + [[package]] 138 + name = "hermit-abi" 139 + version = "0.1.19" 140 + source = "registry+https://github.com/rust-lang/crates.io-index" 141 + checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 142 + dependencies = [ 143 + "libc", 144 + ] 145 + 146 + [[package]] 147 + name = "hexf-parse" 148 + version = "0.2.1" 149 + source = "registry+https://github.com/rust-lang/crates.io-index" 150 + checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" 151 + 152 + [[package]] 153 + name = "indexmap" 154 + version = "1.9.3" 155 + source = "registry+https://github.com/rust-lang/crates.io-index" 156 + checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 157 + dependencies = [ 158 + "autocfg", 159 + "hashbrown", 160 + ] 161 + 162 + [[package]] 163 + name = "krakatau2" 164 + version = "2.0.0-alpha" 165 + dependencies = [ 166 + "anyhow", 167 + "clap", 168 + "hexf-parse", 169 + "lazy_static", 170 + "regex", 171 + "typed-arena", 172 + "zip", 173 + ] 174 + 175 + [[package]] 176 + name = "lazy_static" 177 + version = "1.5.0" 178 + source = "registry+https://github.com/rust-lang/crates.io-index" 179 + checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 180 + 181 + [[package]] 182 + name = "libc" 183 + version = "0.2.171" 184 + source = "registry+https://github.com/rust-lang/crates.io-index" 185 + checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" 186 + 187 + [[package]] 188 + name = "memchr" 189 + version = "2.7.4" 190 + source = "registry+https://github.com/rust-lang/crates.io-index" 191 + checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 192 + 193 + [[package]] 194 + name = "miniz_oxide" 195 + version = "0.8.5" 196 + source = "registry+https://github.com/rust-lang/crates.io-index" 197 + checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" 198 + dependencies = [ 199 + "adler2", 200 + ] 201 + 202 + [[package]] 203 + name = "once_cell" 204 + version = "1.21.3" 205 + source = "registry+https://github.com/rust-lang/crates.io-index" 206 + checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 207 + 208 + [[package]] 209 + name = "os_str_bytes" 210 + version = "6.6.1" 211 + source = "registry+https://github.com/rust-lang/crates.io-index" 212 + checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" 213 + 214 + [[package]] 215 + name = "proc-macro-error" 216 + version = "1.0.4" 217 + source = "registry+https://github.com/rust-lang/crates.io-index" 218 + checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 219 + dependencies = [ 220 + "proc-macro-error-attr", 221 + "proc-macro2", 222 + "quote", 223 + "syn", 224 + "version_check", 225 + ] 226 + 227 + [[package]] 228 + name = "proc-macro-error-attr" 229 + version = "1.0.4" 230 + source = "registry+https://github.com/rust-lang/crates.io-index" 231 + checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 232 + dependencies = [ 233 + "proc-macro2", 234 + "quote", 235 + "version_check", 236 + ] 237 + 238 + [[package]] 239 + name = "proc-macro2" 240 + version = "1.0.94" 241 + source = "registry+https://github.com/rust-lang/crates.io-index" 242 + checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" 243 + dependencies = [ 244 + "unicode-ident", 245 + ] 246 + 247 + [[package]] 248 + name = "quote" 249 + version = "1.0.40" 250 + source = "registry+https://github.com/rust-lang/crates.io-index" 251 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 252 + dependencies = [ 253 + "proc-macro2", 254 + ] 255 + 256 + [[package]] 257 + name = "regex" 258 + version = "1.11.1" 259 + source = "registry+https://github.com/rust-lang/crates.io-index" 260 + checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 261 + dependencies = [ 262 + "aho-corasick", 263 + "memchr", 264 + "regex-automata", 265 + "regex-syntax", 266 + ] 267 + 268 + [[package]] 269 + name = "regex-automata" 270 + version = "0.4.9" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 273 + dependencies = [ 274 + "aho-corasick", 275 + "memchr", 276 + "regex-syntax", 277 + ] 278 + 279 + [[package]] 280 + name = "regex-syntax" 281 + version = "0.8.5" 282 + source = "registry+https://github.com/rust-lang/crates.io-index" 283 + checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 284 + 285 + [[package]] 286 + name = "strsim" 287 + version = "0.10.0" 288 + source = "registry+https://github.com/rust-lang/crates.io-index" 289 + checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 290 + 291 + [[package]] 292 + name = "syn" 293 + version = "1.0.109" 294 + source = "registry+https://github.com/rust-lang/crates.io-index" 295 + checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 296 + dependencies = [ 297 + "proc-macro2", 298 + "quote", 299 + "unicode-ident", 300 + ] 301 + 302 + [[package]] 303 + name = "termcolor" 304 + version = "1.4.1" 305 + source = "registry+https://github.com/rust-lang/crates.io-index" 306 + checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 307 + dependencies = [ 308 + "winapi-util", 309 + ] 310 + 311 + [[package]] 312 + name = "textwrap" 313 + version = "0.16.2" 314 + source = "registry+https://github.com/rust-lang/crates.io-index" 315 + checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" 316 + 317 + [[package]] 318 + name = "typed-arena" 319 + version = "2.0.2" 320 + source = "registry+https://github.com/rust-lang/crates.io-index" 321 + checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" 322 + 323 + [[package]] 324 + name = "unicode-ident" 325 + version = "1.0.18" 326 + source = "registry+https://github.com/rust-lang/crates.io-index" 327 + checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 328 + 329 + [[package]] 330 + name = "version_check" 331 + version = "0.9.5" 332 + source = "registry+https://github.com/rust-lang/crates.io-index" 333 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 334 + 335 + [[package]] 336 + name = "winapi" 337 + version = "0.3.9" 338 + source = "registry+https://github.com/rust-lang/crates.io-index" 339 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 340 + dependencies = [ 341 + "winapi-i686-pc-windows-gnu", 342 + "winapi-x86_64-pc-windows-gnu", 343 + ] 344 + 345 + [[package]] 346 + name = "winapi-i686-pc-windows-gnu" 347 + version = "0.4.0" 348 + source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 350 + 351 + [[package]] 352 + name = "winapi-util" 353 + version = "0.1.9" 354 + source = "registry+https://github.com/rust-lang/crates.io-index" 355 + checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" 356 + dependencies = [ 357 + "windows-sys", 358 + ] 359 + 360 + [[package]] 361 + name = "winapi-x86_64-pc-windows-gnu" 362 + version = "0.4.0" 363 + source = "registry+https://github.com/rust-lang/crates.io-index" 364 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 365 + 366 + [[package]] 367 + name = "windows-sys" 368 + version = "0.59.0" 369 + source = "registry+https://github.com/rust-lang/crates.io-index" 370 + checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 371 + dependencies = [ 372 + "windows-targets", 373 + ] 374 + 375 + [[package]] 376 + name = "windows-targets" 377 + version = "0.52.6" 378 + source = "registry+https://github.com/rust-lang/crates.io-index" 379 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 380 + dependencies = [ 381 + "windows_aarch64_gnullvm", 382 + "windows_aarch64_msvc", 383 + "windows_i686_gnu", 384 + "windows_i686_gnullvm", 385 + "windows_i686_msvc", 386 + "windows_x86_64_gnu", 387 + "windows_x86_64_gnullvm", 388 + "windows_x86_64_msvc", 389 + ] 390 + 391 + [[package]] 392 + name = "windows_aarch64_gnullvm" 393 + version = "0.52.6" 394 + source = "registry+https://github.com/rust-lang/crates.io-index" 395 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 396 + 397 + [[package]] 398 + name = "windows_aarch64_msvc" 399 + version = "0.52.6" 400 + source = "registry+https://github.com/rust-lang/crates.io-index" 401 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 402 + 403 + [[package]] 404 + name = "windows_i686_gnu" 405 + version = "0.52.6" 406 + source = "registry+https://github.com/rust-lang/crates.io-index" 407 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 408 + 409 + [[package]] 410 + name = "windows_i686_gnullvm" 411 + version = "0.52.6" 412 + source = "registry+https://github.com/rust-lang/crates.io-index" 413 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 414 + 415 + [[package]] 416 + name = "windows_i686_msvc" 417 + version = "0.52.6" 418 + source = "registry+https://github.com/rust-lang/crates.io-index" 419 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 420 + 421 + [[package]] 422 + name = "windows_x86_64_gnu" 423 + version = "0.52.6" 424 + source = "registry+https://github.com/rust-lang/crates.io-index" 425 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 426 + 427 + [[package]] 428 + name = "windows_x86_64_gnullvm" 429 + version = "0.52.6" 430 + source = "registry+https://github.com/rust-lang/crates.io-index" 431 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 432 + 433 + [[package]] 434 + name = "windows_x86_64_msvc" 435 + version = "0.52.6" 436 + source = "registry+https://github.com/rust-lang/crates.io-index" 437 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 438 + 439 + [[package]] 440 + name = "zip" 441 + version = "0.6.4" 442 + source = "git+https://github.com/Storyyeller/zip.git#5947af7a779ea216915c398f85ee22599a07e58d" 443 + dependencies = [ 444 + "byteorder", 445 + "crc32fast", 446 + "crossbeam-utils", 447 + "flate2", 448 + ]
+39
pkgs/by-name/kr/krakatau2/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + }: 6 + let 7 + src = fetchFromGitHub { 8 + owner = "Storyyeller"; 9 + repo = "Krakatau"; 10 + rev = "6da0abc20603fecaaa0e3300ebd97e04f07c2fb6"; 11 + hash = "sha256-4ROx/XAWRzP8NWDYndDMBUXPw+nAu4nH4ukkyzS8eZ8="; 12 + }; 13 + in 14 + rustPlatform.buildRustPackage { 15 + inherit src; 16 + pname = "krakatau2"; 17 + version = "0-unstable-2025-02-01"; 18 + 19 + cargoLock = { 20 + lockFile = ./Cargo.lock; 21 + outputHashes = { 22 + "zip-0.6.4" = "sha256-x56JHdFdoLNhT/TC9sQQD4Ouu2LZ+D5CrS1mMyFVJBg="; 23 + }; 24 + }; 25 + 26 + postPatch = '' 27 + ln -s ${./Cargo.lock} Cargo.lock 28 + ''; 29 + 30 + meta = { 31 + inherit (src.meta) homepage; 32 + description = "Java decompiler, assembler, and disassembler"; 33 + license = lib.licenses.gpl3Only; 34 + mainProgram = "krak2"; 35 + maintainers = with lib.maintainers; [ 36 + rhendric 37 + ]; 38 + }; 39 + }