lol

ocamlPackages.re: use Dune 3

ocamlPackages.core_kernel: 0.12.2 → 0.12.3
ocamlPackages.re2: 0.12.0 → 0.12.1

+32 -11
+28 -3
pkgs/development/ocaml-modules/janestreet/0.12.nix
··· 106 106 }; 107 107 108 108 ppx_expect = janePackage { 109 + duneVersion = "3"; 109 110 pname = "ppx_expect"; 110 111 hash = "1wawsbjfkri4sw52n8xqrzihxc3xfpdicv3ahz83a1rsn4lb8j5q"; 111 112 meta.description = "Cram like framework for OCaml"; ··· 275 276 }; 276 277 277 278 ppx_jane = janePackage { 279 + duneVersion = "3"; 278 280 pname = "ppx_jane"; 279 281 hash = "1a2602isqzsh640q20qbmarx0sc316mlsqc3i25ysv2kdyhh0kyw"; 280 282 meta.description = "Standard Jane Street ppx rewriters"; ··· 282 284 }; 283 285 284 286 base_bigstring = janePackage { 287 + duneVersion = "3"; 285 288 pname = "base_bigstring"; 286 289 hash = "0rbgyg511847fbnxad40prz2dyp4da6sffzyzl88j18cxqxbh1by"; 287 290 meta.description = "String type based on [Bigarray], for use in I/O and C-bindings"; ··· 303 306 }; 304 307 305 308 core_kernel = janePackage { 309 + duneVersion = "3"; 306 310 pname = "core_kernel"; 307 - version = "0.12.2"; 308 - hash = "0c85bjvadrb4pmjcg0gjk3bkkgka62r90pjm690mjvcbbv5zjxzj"; 311 + version = "0.12.3"; 312 + hash = "sha256-bDgxuOILAs4FYB8o92ysPHDdEzflZMsU/jk5hB9xfuc="; 309 313 meta.description = "System-independent part of Core"; 310 314 buildInputs = [ jst-config ]; 311 315 propagatedBuildInputs = [ base_bigstring sexplib ]; 312 316 }; 313 317 314 318 spawn = janePackage { 319 + duneVersion = "3"; 315 320 pname = "spawn"; 316 321 version = "0.13.0"; 317 322 hash = "1w003k1kw1lmyiqlk58gkxx8rac7dchiqlz6ah7aj7bh49b36ppf"; ··· 320 325 }; 321 326 322 327 core = janePackage { 328 + duneVersion = "3"; 323 329 pname = "core"; 324 330 version = "0.12.3"; 325 331 hash = "1vmjqiafkg45hqfvahx6jnlaww1q4a4215k8znbgprf0qn3zymnj"; ··· 329 335 }; 330 336 331 337 async_kernel = janePackage { 338 + duneVersion = "3"; 332 339 pname = "async_kernel"; 333 340 hash = "1d9illx7vvpblj1i2r9y0f2yff2fbhy3rp4hhvamq1n9n3lvxmh2"; 334 341 meta.description = "Monadic concurrency library"; ··· 336 343 }; 337 344 338 345 protocol_version_header = janePackage { 346 + duneVersion = "3"; 339 347 pname = "protocol_version_header"; 340 348 hash = "14vqhx3r84rlfhcjq52gxdqksckiaswlck9s47g7y2z1lsc17v7r"; 341 349 meta.description = "Protocol versioning"; ··· 343 351 }; 344 352 345 353 async_rpc_kernel = janePackage { 354 + duneVersion = "3"; 346 355 pname = "async_rpc_kernel"; 347 356 hash = "1znhqbzx4fp58i7dbcgyv5rx7difbhb5d8cbqzv96yqvbn67lsjk"; 348 357 meta.description = "Platform-independent core of Async RPC library"; ··· 350 359 }; 351 360 352 361 async_unix = janePackage { 362 + duneVersion = "3"; 353 363 pname = "async_unix"; 354 364 hash = "09h10rdyykbm88n6r9nb5a22mlb6vcxa04q6hvrcr0kys6qhhqmb"; 355 365 meta.description = "Monadic concurrency library"; ··· 357 367 }; 358 368 359 369 async_extra = janePackage { 370 + duneVersion = "3"; 360 371 pname = "async_extra"; 361 372 hash = "10j4mwlyqvf67yrp5dwd857llqjinpnnykmlzw2gpmks9azxk6mh"; 362 373 meta.description = "Monadic concurrency library"; ··· 364 375 }; 365 376 366 377 textutils = janePackage { 378 + duneVersion = "3"; 367 379 pname = "textutils"; 368 380 hash = "0302awqihf3abib9mvzvn4g8m364hm6jxry1r3kc01hzybhy9acq"; 369 381 meta.description = "Text output utilities"; ··· 371 383 }; 372 384 373 385 async = janePackage { 386 + duneVersion = "3"; 374 387 pname = "async"; 375 388 hash = "0pk7z3h2gi21nfchvmjz2wx516bynf9vgwf84zf5qhvlvqqsmyrx"; 376 389 meta.description = "Monadic concurrency library"; ··· 378 391 }; 379 392 380 393 async_find = janePackage { 394 + duneVersion = "3"; 381 395 pname = "async_find"; 382 396 hash = "0qsz9f15s5rlk6za10s810v6nlkdxg2g9p1827lcpa7nhjcpi673"; 383 397 meta.description = "Directory traversal with Async"; ··· 385 399 }; 386 400 387 401 re2 = janePackage { 402 + duneVersion = "3"; 388 403 pname = "re2"; 389 - hash = "1sw32lb0y501y971ij7287796lvfhs0nfgla895r74ymfks2rcjb"; 404 + version = "0.12.1"; 405 + hash = "sha256-NPQKKUSwckZx4GN4wX2sc0Mn7bes6p79oZrN6xouc6o="; 390 406 meta.description = "OCaml bindings for RE2, Google's regular expression library"; 391 407 propagatedBuildInputs = [ core_kernel ]; 392 408 prePatch = '' ··· 396 412 }; 397 413 398 414 shell = janePackage { 415 + duneVersion = "3"; 399 416 pname = "shell"; 400 417 hash = "158857rdr6qgglc5iksg0l54jgf51b5lmsw7nlazpxwdwc9fcn5n"; 401 418 meta.description = "Yet another implementation of fork&exec and related functionality"; ··· 404 421 }; 405 422 406 423 async_shell = janePackage { 424 + duneVersion = "3"; 407 425 pname = "async_shell"; 408 426 hash = "0cxln9hkc3cy522la9yi9p23qjwl69kqmadsq4lnjh5bxdad06sv"; 409 427 meta.description = "Shell helpers for Async"; ··· 411 429 }; 412 430 413 431 core_bench = janePackage { 432 + duneVersion = "3"; 414 433 pname = "core_bench"; 415 434 hash = "00hyzbbj19dkcw0vhfnc8w0ca3zkjriwwvl00ssa0a2g9mygijdm"; 416 435 meta.description = "Benchmarking library"; ··· 418 437 }; 419 438 420 439 core_extended = janePackage { 440 + duneVersion = "3"; 421 441 pname = "core_extended"; 422 442 hash = "1gwx66235irpf5krb1r25a3c7w52qhmass8hp7rdv89il9jn49w4"; 423 443 meta.description = "Extra components that are not as closely vetted or as stable as Core"; ··· 425 445 }; 426 446 427 447 sexp_pretty = janePackage { 448 + duneVersion = "3"; 428 449 pname = "sexp_pretty"; 429 450 hash = "06hdsaszc5cd7fphiblbn4r1sh36xgjwf2igzr2rvlzqs7jiv2v4"; 430 451 meta.description = "S-expression pretty-printer"; ··· 432 453 }; 433 454 434 455 expect_test_helpers_kernel = janePackage { 456 + duneVersion = "3"; 435 457 pname = "expect_test_helpers_kernel"; 436 458 hash = "18ya187y2i2hfxr771sd9vy5jdsa30vhs56yjdhwk06v01b2fzbq"; 437 459 meta.description = "Helpers for writing expectation tests"; ··· 440 462 }; 441 463 442 464 expect_test_helpers = janePackage { 465 + duneVersion = "3"; 443 466 pname = "expect_test_helpers"; 444 467 hash = "0ixqck2lnsmz107yw0q2sr8va80skjpldx7lz4ymjiq2vsghk0rb"; 445 468 meta.description = "Async helpers for writing expectation tests"; ··· 447 470 }; 448 471 449 472 patience_diff = janePackage { 473 + duneVersion = "3"; 450 474 pname = "patience_diff"; 451 475 hash = "055kd3piadjnplip8c8q99ssh79d4irmhg2wng7aida5pbqp2p9f"; 452 476 meta.description = "Diff library using Bram Cohen's patience diff algorithm"; ··· 454 478 }; 455 479 456 480 ecaml = janePackage { 481 + duneVersion = "3"; 457 482 pname = "ecaml"; 458 483 hash = "0n9xi6agc3lgyj2nsi10cbif0xwn57xyaranad9r285rmbxrgjh7"; 459 484 meta.description = "Library for writing Emacs plugin in OCaml";
+2 -4
pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix
··· 1 1 { lib, fetchFromGitHub, buildDunePackage, defaultVersion ? "0.12.0" }: 2 2 3 - { pname, version ? defaultVersion, hash, ...}@args: 3 + { pname, version ? defaultVersion, duneVersion ? "1", hash, ...}@args: 4 4 5 5 buildDunePackage (args // { 6 - inherit version; 7 - 8 - duneVersion = "1"; 6 + inherit version duneVersion; 9 7 10 8 minimalOCamlVersion = "4.07"; 11 9
+2 -4
pkgs/development/ocaml-modules/re/default.nix
··· 13 13 }; 14 14 in 15 15 16 - buildDunePackage (rec { 16 + buildDunePackage rec { 17 17 pname = "re"; 18 18 version = version_sha.version; 19 19 ··· 34 34 license = lib.licenses.lgpl2; 35 35 maintainers = with lib.maintainers; [ vbgl ]; 36 36 }; 37 - } // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { 38 - duneVersion = "1"; 39 - }) 37 + }