git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.janeStreet: 0.10 -> 0.11
commit3b0cd74f553e94afa6677358b196a7173dbae7a8 authorVincent Laporte <Vincent.Laporte@gmail.com> dateThu 5 Jul 2018, 19:40 (8 years ago) parent1bb95d8
9 files changed+380−297
pkgs/development/ocaml-modules/ipaddr/default.nix+4−3 pkgs/development/ocaml-modules/janestreet/default.nix+291−278 pkgs/development/ocaml-modules/janestreet/janePackage.nix+1−1 pkgs/development/ocaml-modules/nocrypto/default.nix+28−10 pkgs/development/ocaml-modules/ppxlib/default.nix+34 pkgs/development/ocaml-modules/tls/default.nix+4 pkgs/development/ocaml-modules/uri/default.nix+3−3 pkgs/tools/misc/patdiff/default.nix+1−1 pkgs/top-level/ocaml-packages.nix+14−1
pkgs/development/ocaml-modules/ipaddr/default.nix+4−3
@@ -1,5 +1,6 @@
11{ stdenv, buildOcaml, fetchurl, ocamlbuild, findlib
2−, jbuilder, sexplib, ppx_sexp_conv, ppx_deriving }:
2+, jbuilder, sexplib, ppx_sexp_conv
3+}:
34
45buildOcaml rec {
56 name = "ipaddr";
@@ -10,8 +11,8 @@ buildOcaml rec {
1011 sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw";
1112 };
1213
13− buildInputs = [ findlib ocamlbuild jbuilder ppx_sexp_conv ];
14− propagatedBuildInputs = [ ppx_deriving sexplib ];
14+ buildInputs = [ findlib ocamlbuild jbuilder ];
15+ propagatedBuildInputs = [ ppx_sexp_conv sexplib ];
1516
1617 inherit (jbuilder) installPhase;
1718
pkgs/development/ocaml-modules/janestreet/default.nix+291−278
@@ -1,605 +1,618 @@
11{ stdenv, lib, janePackage, ocaml, ocamlbuild, angstrom, cryptokit, ctypes,
22 magic-mime, ocaml-migrate-parsetree, octavius, ounit, ppx_deriving, re,
3− zarith, num, openssl }:
3+ zarith, num, openssl
4+, ppxlib
5+}:
46
57rec {
68
7− # Jane Street packages, up to ppx_core
8−
9− sexplib = janePackage {
10− name = "sexplib";
11− meta.description = "Automated S-expression conversion";
12− hash = "1agw649n0rnf6h4y2dr1zs1970nncxgjmf90848vbxv8y9im4yy2";
13− propagatedBuildInputs = [ num ];
14− };
15−
16− base = janePackage {
17− name = "base";
18− hash = "13brvkkj76syh8ws1k3lnvk88jvc6jxx16nsq5ysh558db91v5x7";
19− propagatedBuildInputs = [ sexplib ];
20− meta.description = "Full standard library replacement for OCaml";
21− };
22−
239 ocaml-compiler-libs = janePackage {
2410 name = "ocaml-compiler-libs";
25− hash = "0dg9jgwwir99y28bki17cqf3v30apd7cf0qdi8hfwb5pkgp9zdng";
11+ hash = "03jds7bszh8wwpfwxb3dg0gyr1j1872wxwx1xqhry5ir0i84bg0s";
2612 meta.description = "OCaml compiler libraries repackaged";
2713 };
2814
29− ppx_ast = janePackage {
30− name = "ppx_ast";
31− hash = "02jsi9b200071i4x0w358by09xabw9v13q7xrx6cdshqxw0q97kf";
32− propagatedBuildInputs = [ ocaml-compiler-libs ocaml-migrate-parsetree ];
33− meta.description = "OCaml AST used by Jane Street ppx rewriters";
34− };
35−
36− ppx_traverse_builtins = janePackage {
37− name = "ppx_traverse_builtins";
38− hash = "0hhw565cwjlr1cwpgkfj0v2kc0lqxyjcrmi9q3hx3344biql8q17";
39− meta.description = "Builtins for Ppx_traverse";
15+ sexplib0 = janePackage {
16+ name = "sexplib0";
17+ meta.description = "Library containing the definition of S-expressions and some base converters";
18+ hash = "07v3ggyss7xhfv14bjk1n87sr42iqwj4cgjiv2lcdfkqk49i2bmi";
4019 };
4120
42− stdio = janePackage {
43− name = "stdio";
44− hash = "0ydhy4f89f00n0pfgk8fanj6chzx433qnlcrxnddzg4d3dhb4254";
45− propagatedBuildInputs = [ base sexplib ];
46− meta.description = "Standard IO library for OCaml";
47− };
48−
49− ppx_core = janePackage {
50− name = "ppx_core";
51− hash = "0fm26bgf10gk8xl6j4xvwa5s7nmns8rlx7iblb7haj4dxc0qsjhd";
52− propagatedBuildInputs = [ ppx_ast ppx_traverse_builtins stdio ];
53− meta.description = "Jane Street's standard library for ppx rewriters";
54− };
55−
56− # Jane Street packages, up to ppx_base
57−
58− ppx_optcomp = janePackage {
59− name = "ppx_optcomp";
60− hash = "134anhlh32s5yjjbiqsrmjw51i08pyghzccmrwg1bipl64q55m6n";
61− propagatedBuildInputs = [ ppx_core ];
62− meta.description = "Optional compilation for OCaml";
21+ parsexp = janePackage {
22+ name = "parsexp";
23+ hash = "1nyq23s5igd8cf3n4qxprjvhbmb6ighb3fy5mw7hxl0mdgsw5fvz";
24+ propagatedBuildInputs = [ sexplib0 ];
25+ meta.description = "S-expression parsing library";
6326 };
6427
65− ppx_driver = janePackage {
66− name = "ppx_driver";
67− hash = "0kzijcsq32wf33f4spgja3w5jb9s8wnzmr6lpm8lahw05g80q8nj";
68− buildInputs = [ ocamlbuild ];
69− propagatedBuildInputs = [ ppx_optcomp ];
70− meta.description = "Feature-full driver for OCaml AST transformers";
28+ sexplib = janePackage {
29+ name = "sexplib";
30+ meta.description = "Library for serializing OCaml values to and from S-expressions";
31+ hash = "1qfl0m04rpcjvc4yw1hzh6r16jpwmap0sa9ax6zjji67dz4szpyb";
32+ propagatedBuildInputs = [ num parsexp ];
7133 };
7234
73− ppx_metaquot = janePackage {
74− name = "ppx_metaquot";
75− hash = "1wb8pl5v57yy1g0g61mvgnxgn2ix2r5skiz33g8hdjvx91pbgmv4";
76− propagatedBuildInputs = [ ppx_driver ];
77− meta.description = "Metaquotations for ppx_ast";
35+ base = janePackage {
36+ name = "base";
37+ hash = "0ad5xcyds2lwy9dk7gqwygxk5y769ckrgrjcykdalwdh8qfbi6nf";
38+ propagatedBuildInputs = [ sexplib0 ];
39+ meta.description = "Full standard library replacement for OCaml";
7840 };
7941
80− ppx_type_conv = janePackage {
81− name = "ppx_type_conv";
82− hash = "0xvn00fzj8lb41slkl91p9z62byg0rlnygdxf4xvrqglg04wa9cz";
83− propagatedBuildInputs = [ ppx_metaquot ppx_deriving ];
84− meta.description = "Support Library for type-driven code generators";
42+ stdio = janePackage {
43+ name = "stdio";
44+ hash = "1facajqhvq34g2wrg368y0ajxd6lrj5b3lyzyj0jhdmraxajjcwn";
45+ propagatedBuildInputs = [ base ];
46+ meta.description = "Standard IO library for OCaml";
8547 };
8648
87− ppx_sexp_conv = janePackage {
88− name = "ppx_sexp_conv";
89− hash = "0kvbm34wbxrcpvrrbh5wq4kzx4yb67iidzcq5x1d4bygvp8x2lzd";
90− propagatedBuildInputs = [ ppx_type_conv sexplib ];
91− meta.description = "Generation of S-expression conversion functions from type definitions";
49+ configurator = janePackage {
50+ name = "configurator";
51+ hash = "0h686630cscav7pil8c3w0gbh6rj4b41dvbnwmicmlkc746q5bfk";
52+ propagatedBuildInputs = [ stdio ];
53+ meta.description = "Helper library for gathering system configuration";
9254 };
9355
9456 ppx_compare = janePackage {
9557 name = "ppx_compare";
96− hash = "1fjrb7bz7wrykf4pm7s4s32030jdw65hi7kzd22ibd1afnkz3xw1";
97− propagatedBuildInputs = [ ppx_type_conv ];
58+ version = "0.11.1";
59+ hash = "06bq4m1bsm4jlx4g7wh5m99qky7xm4c2g52kaz6pv25hdn5agi2m";
60+ buildInputs = [ ppxlib ];
61+ propagatedBuildInputs = [ base ppx_deriving ];
9862 meta.description = "Generation of comparison functions from types";
9963 };
10064
101− ppx_enumerate = janePackage {
102− name = "ppx_enumerate";
103− hash = "1b4q1h19bh2xdxgqwdmn5kv95lyvpyf6mfh2fswagf2ajyfshksx";
104− propagatedBuildInputs = [ ppx_type_conv ];
105− meta.description = "Generate a list containing all values of a finite type";
106− };
107−
108− ppx_hash = janePackage {
109− name = "ppx_hash";
110− hash = "12yln0gpf21ifr205qxk7dn83bsj07zhmak2xsjap7xkq4k8g9gc";
111− propagatedBuildInputs = [ ppx_compare ppx_sexp_conv ];
112− meta.description = "A ppx rewriter that generates hash functions from type expressions and definitions";
113− };
114−
115− ppx_js_style = janePackage {
116− name = "ppx_js_style";
117− hash = "11i2cwavbbplhsl5n4zmgpr8gjc4ixa5016vc72y8h78g71jj18n";
118− propagatedBuildInputs = [ ppx_metaquot octavius ];
119− meta.description = "Code style checker for Jane Street Packages";
120− };
121−
122− ppx_base = janePackage {
123− name = "ppx_base";
124− hash = "1rk7dlnhl30prda9q34ic0xv375i52j47bkr664ry3ghklxx6d8y";
125− propagatedBuildInputs = [ ppx_enumerate ppx_hash ppx_js_style ];
126− meta.description = "Base set of ppx rewriters";
127− };
128−
129− # Jane Street packages, up to ppx_bin_prot
130−
131− fieldslib = janePackage {
132− name = "fieldslib";
133− hash = "19l05d7hhc74zg48hj0m7sips8z3vpara1f0lvd8h7n46wpbs608";
134− propagatedBuildInputs = [ ppx_driver ];
135− meta.description = "OCaml record fields as first class values";
65+ ppx_sexp_conv = janePackage {
66+ name = "ppx_sexp_conv";
67+ version = "0.11.2";
68+ hash = "0pqwnqy1xp309wvdcaax4lg02yk64lq2w03mbgfvf6ps5ry4gis9";
69+ propagatedBuildInputs = [ sexplib0 ppxlib ppx_deriving ];
70+ meta.description = "Generation of S-expression conversion functions from type definitions";
13671 };
13772
13873 variantslib = janePackage {
13974 name = "variantslib";
140− hash = "0j1qlz7g8ny1qf3a7d38v2a7sxiis1nwcxkvz0myfsc3dkn716an";
141− propagatedBuildInputs = [ ppx_driver ];
75+ hash = "0hbsk34ghc28h8pzbma923ma2bgnz8lzrgcqqx9bzg161jl4s4r3";
76+ buildInputs = [ ppxlib ];
77+ propagatedBuildInputs = [ base ];
14278 meta.description = "OCaml variants as first class values";
14379 };
14480
145− ppx_traverse = janePackage {
146− name = "ppx_traverse";
147− hash = "1ps7s4vwvzik9wvmwd0i3a1sjgm0xx32yivc2r8ix9qqwylvjllq";
148− propagatedBuildInputs = [ ppx_type_conv ];
149− meta.description = "Automatic generation of open recursion classes";
81+ ppx_variants_conv = janePackage {
82+ name = "ppx_variants_conv";
83+ version = "0.11.1";
84+ hash = "1yc0gsds5m2nv39zga8nnrca2n75rkqy5dz4xj1635ybz20hhbjd";
85+ buildInputs = [ ppxlib ];
86+ propagatedBuildInputs = [ ppx_deriving variantslib ];
87+ meta.description = "Generation of accessor and iteration functions for OCaml variant types";
15088 };
15189
152− ppx_custom_printf = janePackage {
153− name = "ppx_custom_printf";
154− hash = "113dvmiy07lb6mf0f88avf4cfkix4q029xqi2w0h26xngp88s31p";
155− propagatedBuildInputs = [ ppx_sexp_conv ppx_traverse ];
156− meta.description = "Printf-style format-strings for user-defined string conversion";
90+ fieldslib = janePackage {
91+ name = "fieldslib";
92+ hash = "1yvjvfax56lmn2lxbykcmhgmxypws1vp9lhnyb8bhbavsv8yc6da";
93+ propagatedBuildInputs = [ ppxlib ];
94+ meta.description = "OCaml record fields as first class values";
15795 };
15896
15997 ppx_fields_conv = janePackage {
16098 name = "ppx_fields_conv";
161− hash = "1df095qczkzclmdcs1nrm89wswnxivn9kvn6sw65jpvryfkf5v5k";
162− propagatedBuildInputs = [ fieldslib ppx_type_conv ];
99+ hash = "1bb9cmn4js7p3qh8skzyik1pcz6sj1k4xkhf12fg1bjmb5fd0jx1";
100+ propagatedBuildInputs = [ fieldslib ];
163101 meta.description = "Generation of accessor and iteration functions for OCaml records";
164102 };
165103
166− ppx_variants_conv = janePackage {
167− name = "ppx_variants_conv";
168− hash = "1l19rkclf65f8snw2v0yibkvk28by241dkp6jb0076dyghbln451";
169− propagatedBuildInputs = [ ppx_type_conv variantslib ];
170− meta.description = "Generation of accessor and iteration functions for OCaml variant types";
104+ ppx_custom_printf = janePackage {
105+ name = "ppx_custom_printf";
106+ hash = "1dvjzvaxhx53jqwrrlxdckwl1azrhs9kvwb48mhgd0jnz65ny726";
107+ propagatedBuildInputs = [ ppx_sexp_conv ];
108+ meta.description = "Printf-style format-strings for user-defined string conversion";
171109 };
172110
173111 bin_prot = janePackage {
174112 name = "bin_prot";
175− hash = "1yyjpwr2s5l8sm9j77a4cmr92rdx73iy3fwqyxf7dr8hfrmd938v";
113+ hash = "1mgbyzsr8h0y4s4j9dv7hsdrxyzhhjww5khwg2spi2my7ia95m0l";
176114 propagatedBuildInputs = [ ppx_compare ppx_custom_printf ppx_fields_conv ppx_variants_conv ];
177115 meta.description = "Binary protocol generator";
178116 };
179117
118+ jane-street-headers = janePackage {
119+ name = "jane-street-headers";
120+ hash = "0kij4c7qxrja787f3sm3z6mzr322486h2djrlyhnl66vp8hrv8si";
121+ meta.description = "Jane Street header files";
122+ };
123+
180124 ppx_here = janePackage {
181125 name = "ppx_here";
182− hash = "0ysx25ai7mpzxfpbswd9k38hpxhjm12bj0iw5ghvhdjnnn07kwcv";
183− propagatedBuildInputs = [ ppx_driver ];
126+ hash = "04njv8s4n54x9rg0012ymd6y6lrnqprnh0f0f6s0jcp79q7mv43i";
127+ buildInputs = [ ppxlib ];
184128 meta.description = "Expands [%here] into its location";
185129 };
186130
187− ppx_bin_prot = janePackage {
188− name = "ppx_bin_prot";
189− hash = "06n7gs51847p75baay9ar8n15ynqzhdbnwd8xvp8vxs6krr6wpfd";
190− propagatedBuildInputs = [ ppx_here bin_prot ];
191− meta.description = "Generation of bin_prot readers and writers from types";
192− };
193−
194− # Jane Street packages, up to ppx_jane
195−
196131 ppx_assert = janePackage {
197132 name = "ppx_assert";
198− hash = "09xrcs2sk1a9vjn16bd1cpz3b52kbck7fhc7zrz24lv121wspiaj";
199− propagatedBuildInputs = [ ppx_sexp_conv ppx_here ppx_compare ];
133+ hash = "0qbdrl0rj0midnb6sdyaz00s0d4nb8zrrdf565lcdsi1rbnyrzan";
134+ buildInputs = [ ppx_here ];
135+ propagatedBuildInputs = [ ppx_compare ppx_sexp_conv ];
200136 meta.description = "Assert-like extension nodes that raise useful errors on failure";
201137 };
202138
139+ ppx_hash = janePackage {
140+ version = "0.11.1";
141+ name = "ppx_hash";
142+ hash = "1p0ic6aijxlrdggpmycj12q3cy9xksbq2vq727215maz4snvlf5p";
143+ propagatedBuildInputs = [ ppx_compare ppx_sexp_conv ];
144+ meta.description = "A ppx rewriter that generates hash functions from type expressions and definitions";
145+ };
146+
203147 ppx_inline_test = janePackage {
204148 name = "ppx_inline_test";
205− hash = "0ar4lpl3zwb7k1f4clqsw1hyzwa104gf118a2i89c4hvj2721jwf";
206− propagatedBuildInputs = [ ppx_metaquot ];
149+ hash = "11n94fz1asjf5vqdgriv0pvsa5lbfpqcyk525c7816w23vskcvq6";
150+ buildInputs = [ ppxlib ];
151+ propagatedBuildInputs = [ base ];
207152 meta.description = "Syntax extension for writing in-line tests in OCaml code";
208153 };
209154
155+ ppx_sexp_message = janePackage {
156+ name = "ppx_sexp_message";
157+ hash = "0d94pf0mrmyp905ncgj4w6cc6zpm4nlib6nclslhgs89pxpzg6a0";
158+ buildInputs = [ ppx_here ];
159+ propagatedBuildInputs = [ ppx_sexp_conv ];
160+ meta.description = "A ppx rewriter for easy construction of s-expressions";
161+ };
162+
210163 typerep = janePackage {
211164 name = "typerep";
212− hash = "11na0kag6aggckx7326zq8hh9pzymkwqfxsd25fswskk5lpnvwqv";
165+ hash = "00j4by75fl9niqvlpiyw6ymlmlmgfzysm8w25cj5wsfsh4yrgr74";
213166 propagatedBuildInputs = [ base ];
214167 meta.description = "Runtime types for OCaml";
215168 };
216169
170+ ppx_typerep_conv = janePackage {
171+ version = "0.11.1";
172+ name = "ppx_typerep_conv";
173+ hash = "0a13dpfrrg0rsm8qni1bh7pqcda30l70z8r6yzi5a64bmwk7g5ah";
174+ buildInputs = [ ppxlib ];
175+ propagatedBuildInputs = [ ppx_deriving typerep ];
176+ meta.description = "Generation of runtime types from type declarations";
177+ };
178+
179+ ppx_js_style = janePackage {
180+ name = "ppx_js_style";
181+ hash = "1cwqyrkykc8wi60grbid1w072fcvf7k0hd387jz7mxfw44qyb85g";
182+ propagatedBuildInputs = [ ppxlib octavius ];
183+ meta.description = "Code style checker for Jane Street Packages";
184+ };
185+
186+ ppx_enumerate = janePackage {
187+ version = "0.11.1";
188+ name = "ppx_enumerate";
189+ hash = "0spx9k1v7vjjb6sigbfs69yndgq76v114jhxvzjmffw7q989cyhr";
190+ buildInputs = [ ppxlib ];
191+ propagatedBuildInputs = [ ppx_deriving ];
192+ meta.description = "Generate a list containing all values of a finite type";
193+ };
194+
195+ ppx_base = janePackage {
196+ name = "ppx_base";
197+ hash = "079caqjbxk1d33hy69017n3dwslqy52alvzjddwpdjb04vjadlk6";
198+ propagatedBuildInputs = [ ppx_compare ppx_enumerate ppx_hash ppx_js_style ];
199+ meta.description = "Base set of ppx rewriters";
200+ };
201+
217202 ppx_bench = janePackage {
218203 name = "ppx_bench";
219− hash = "17l5shhi613l02yfipyr4hna3lj94kn6zy746rvsgcibyc7nybq6";
220− propagatedBuildInputs = [ ppx_inline_test ];
204+ hash = "0z98r6y4lpj6dy265m771ylx126hq3v1zjsk74yqvpwwd63gx3jz";
205+ buildInputs = [ ppxlib ppx_inline_test ];
221206 meta.description = "Syntax extension for writing in-line benchmarks in OCaml code";
222207 };
223208
209+ ppx_bin_prot = janePackage {
210+ version = "0.11.1";
211+ name = "ppx_bin_prot";
212+ hash = "1h60i75bzvhna1axyn662gyrzhh441l79vl142d235i5x31dmnkz";
213+ buildInputs = [ ppxlib ppx_here ];
214+ propagatedBuildInputs = [ bin_prot ];
215+ meta.description = "Generation of bin_prot readers and writers from types";
216+ };
217+
224218 ppx_expect = janePackage {
225219 name = "ppx_expect";
226− hash = "0qq07iqfsbksklwn7rr1wdz79kji0iyq5qkyfwxrxm0ci9fz0h1w";
227− propagatedBuildInputs = [ ppx_inline_test ppx_fields_conv ppx_custom_printf ppx_assert ppx_variants_conv re ];
220+ hash = "1g0r67vfw9jr75pybiw4ysfiswlzyfpbj0gl91rx62gqdhjh1pga";
221+ buildInputs = [ ppx_assert ppx_custom_printf ppx_fields_conv ppx_here ppx_variants_conv re ];
222+ propagatedBuildInputs = [ fieldslib ppx_compare ppx_inline_test ppx_sexp_conv ];
228223 meta.description = "Cram like framework for OCaml";
229224 };
230225
231226 ppx_fail = janePackage {
232227 name = "ppx_fail";
233− hash = "0cwz16xy5s0ijm9y98lh9089ic7wd161njpdncgsxy6lgsjawap2";
234− propagatedBuildInputs = [ ppx_here ppx_metaquot ];
228+ hash = "0d0xadcl7mhp81kspcd2b0nh75h34w5a6s6j9qskjjbjif87wiix";
229+ buildInputs = [ ppxlib ppx_here ];
235230 meta.description = "Add location to calls to failwiths";
236231 };
237232
238233 ppx_let = janePackage {
239234 name = "ppx_let";
240− hash = "0smdxkjh4nxrf3mwzfvkjbymvwbz04v70k2gwxsaz5f6wvnhyvmm";
241− propagatedBuildInputs = [ ppx_driver ];
235+ hash = "1ckzwljlb78cdf6xxd24nddnmsihvjrnq75r1b255aj3xgkzsygx";
236+ buildInputs = [ ppxlib ];
242237 meta.description = "Monadic let-bindings";
243238 };
244239
240+ ppx_optcomp = janePackage {
241+ name = "ppx_optcomp";
242+ hash = "1rahkjq6vpffs7wdz1crgbxkdnlfkj1i3j12c2andy4fhj49glcm";
243+ buildInputs = [ ppxlib ];
244+ propagatedBuildInputs = [ ppx_deriving ];
245+ meta.description = "Optional compilation for OCaml";
246+ };
247+
245248 ppx_optional = janePackage {
246249 name = "ppx_optional";
247− hash = "1qmc0yzp9jab8yndxs0ca3qx35wyhfwiknqk0gfjmar2ji87zlzn";
248− propagatedBuildInputs = [ ppx_metaquot ];
250+ hash = "0aw3hvrsdjpw4ik7rf15ghak31vhdr1lgpphr18mj76rnlrhirmx";
251+ propagatedBuildInputs = [ ppxlib ];
249252 meta.description = "Pattern matching on flat options";
250253 };
251254
252255 ppx_pipebang = janePackage {
253256 name = "ppx_pipebang";
254− hash = "0lzw6qc9f9g7zkbhhp4603b3mj3jvca4phx40f95d49y370325qx";
255− propagatedBuildInputs = [ ppx_metaquot ];
257+ hash = "0smgq587amlr3hivbbg153p83dj37w30cssp9cffc0v8kg84lfhr";
258+ buildInputs = [ ppxlib ];
256259 meta.description = "A ppx rewriter that inlines reverse application operators |> and |!";
257260 };
258261
259− ppx_sexp_message = janePackage {
260− name = "ppx_sexp_message";
261− hash = "1gddia4ry2pmnh4qj5855a044lqs23g5h038bkny73xg7w06jhrk";
262− propagatedBuildInputs = [ ppx_sexp_conv ppx_here ];
263− meta.description = "A ppx rewriter for easy construction of s-expressions";
264− };
265−
266262 ppx_sexp_value = janePackage {
267263 name = "ppx_sexp_value";
268− hash = "1xd5ln997wka8x4dba58yh525a5f36sklngg2z7iyiss7xi4yg7i";
269− propagatedBuildInputs = [ ppx_sexp_conv ppx_here ];
264+ hash = "107zwb580nrmc0l03dl3y3hf12s3c1vv8b8mz6sa4k5afp3s9nkl";
265+ buildInputs = [ ppx_here ];
266+ propagatedBuildInputs = [ ppx_sexp_conv ];
270267 meta.description = "A ppx rewriter that simplifies building s-expressions from OCaml values";
271268 };
272269
273− ppx_typerep_conv = janePackage {
274− name = "ppx_typerep_conv";
275− hash = "1bk8zgagf6q5lb7icsrbzs05c8dz1gij0clzk39am40l83zs3ain";
276− propagatedBuildInputs = [ ppx_type_conv typerep ];
277− meta.description = "Generation of runtime types from type declarations";
278− };
279−
280270 ppx_jane = janePackage {
281271 name = "ppx_jane";
282− hash = "1lhzcfh129dc54bkg16rnldi97682nlzdr8a47ham3hg2kkab8kr";
283− propagatedBuildInputs = [ ppx_base ppx_bench ppx_bin_prot ppx_expect ppx_fail ppx_let ppx_optional ppx_pipebang ppx_sexp_message ppx_sexp_value ppx_typerep_conv ];
272+ hash = "0l1p6llaa60mrc5p9400cqv9yy6h76x5wfq3z1cx5xawy0yz4vlb";
273+ buildInputs = [ ppxlib ];
274+ propagatedBuildInputs = [ ppx_assert ppx_base ppx_bench ppx_bin_prot ppx_expect ppx_fail ppx_here ppx_let ppx_optcomp ppx_optional ppx_pipebang ppx_sexp_message ppx_sexp_value ppx_typerep_conv ];
284275 meta.description = "Standard Jane Street ppx rewriters";
285276 };
286277
287− # Jane Street packages, up to core
288−
289− configurator = janePackage {
290− name = "configurator";
291− hash = "0lydjj4r21ipmc91hyf91mjjvcibk4r7ipan8bqfzb5l490r95rp";
292− propagatedBuildInputs = [ base stdio ];
293− meta.description = "Helper library for gathering system configuration";
294− };
295−
296− jane-street-headers = janePackage {
297− name = "jane-street-headers";
298− hash = "1sqyqzhgi52vq33i8ha2pmjg026qiqmpaqmibs3pfj4jsscwl842";
299− meta.description = "Jane Street header files";
278+ splittable_random = janePackage {
279+ name = "splittable_random";
280+ hash = "1yrvpm6g62f8k6ihccxhfxpvmxbqxhi7p790a8jkdmyfdd1l6z73";
281+ propagatedBuildInputs = [ ppx_jane ];
282+ meta.description = "PRNG that can be split into independent streams";
300283 };
301284
302285 core_kernel = janePackage {
303286 name = "core_kernel";
304− hash = "00iqd9wcana2blgdih1lq9zqd31agr6az912bhsklyarvvcn9hcb";
305− propagatedBuildInputs = [ configurator jane-street-headers ppx_jane ];
287+ hash = "0xaw8189i9z72fvzbxfv1qrf4wvj8v45bl7g3z7ynsqkvh6smr7d";
288+ propagatedBuildInputs = [ configurator jane-street-headers sexplib splittable_random ];
306289 meta.description = "Jane Street's standard library overlay (kernel)";
307290 };
308291
309292 spawn = janePackage {
293+ version = "0.12.0";
310294 name = "spawn";
311− hash = "1av1pjkiqq3nz0rjmykiylhf0iv6d1ssvqqj6wcc3c0bzvgyih0p";
295+ hash = "0amgj7g9sjlbjivn1mg7yjdmxd21hgp4a0ak2zrm95dmm4gi846i";
312296 meta.description = "Spawning sub-processes";
313297 };
314298
315299 core = janePackage {
300+ version = "0.11.1";
316301 name = "core";
317− hash = "06cra34rlqpmxh4f3v1vps9fs7hy90jjnipdvcf9z8cn925mdj46";
302+ hash = "0wa2dsfk5m5wlhz915664y9h08idijj5s41hyg8n54dhihvxw2ci";
318303 propagatedBuildInputs = [ core_kernel spawn ];
319304 meta.description = "Jane Street's standard library overlay";
320305 };
321306
322− # Jane Street packages, up to core_extended
323−
324− re2 = janePackage {
325− name = "re2";
326− version = "0.10.1";
327− hash = "1d39brryfaj5fqp1kzw67n1bvfxv28xi058mk5il14wj40y5ldh1";
307+ textutils_kernel = janePackage {
308+ name = "textutils_kernel";
309+ hash = "0s1ps7h54vgl76pll3y5qa1bw8f4h8wxc8mg8jq6bz8vxvl0dfv4";
328310 propagatedBuildInputs = [ core_kernel ];
329− meta = {
330− description = "OCaml bindings for RE2";
331− broken = stdenv.isDarwin;
332− };
311+ meta.description = "The subset of textutils using only core_kernel and working in javascript";
333312 };
334313
335314 textutils = janePackage {
336315 name = "textutils";
337− hash = "0mnmrp8kd443qx9gahrwr04a8q4hskcad2i1k9amiypbwy566s37";
316+ hash = "1jmhpaihnndf4pr8xsk7ws70n4mvv34ry0ggqqpfs3wb2vkcdg6j";
338317 propagatedBuildInputs = [ core textutils_kernel ];
339318 meta.description = "Text output utilities";
340319 };
341320
342− textutils_kernel = janePackage {
343− name = "textutils_kernel";
344− hash = "0w7nf7sycffff318fxr42ss1fxa3bsy9kj7y27dl1whrajip9mb7";
345− propagatedBuildInputs = [ core_kernel ocaml-migrate-parsetree ];
346− meta.description = "The subset of textutils using only core_kernel and working in javascript";
321+ re2 = janePackage {
322+ name = "re2";
323+ hash = "0bl65d0nmvr7k1mkkcc4aai86l5qzgn1xxwmszshpwhaz87cqghd";
324+ propagatedBuildInputs = [ core_kernel ];
325+ meta = {
326+ description = "OCaml bindings for RE2";
327+ broken = stdenv.isDarwin;
328+ };
347329 };
348330
349331 core_extended = janePackage {
350332 name = "core_extended";
351− hash = "0g9adnr68l4ggayilmvz9nnf2slvnp0jzknjrxk10cab72l97rv4";
352− propagatedBuildInputs = [ core re2 textutils ];
333+ hash = "1fvnr6zkpbl48dl7nn3j1dpsrr6bi00iqh282wg5lgdhcsjbc0dy";
334+ propagatedBuildInputs = [ core re re2 textutils ];
353335 postPatch = ''
354336 patchShebangs src/discover.sh
355337 '';
356− meta = {
357− description = "Jane Street Capital's standard library overlay";
358− };
338+ meta.description = "Jane Street Capital's standard library overlay";
359339 };
360340
361− # Jane Street async packages
362−
363341 async_kernel = janePackage {
364342 name = "async_kernel";
365− hash = "09dzfyfmjf9894yimf1fpnc2l1v342f51a2wjr3d23pw6xnbcrl0";
343+ hash = "1drxawih7vhhb1mhd291698ly7yb38qzif82jk1adqcvwdb547af";
366344 propagatedBuildInputs = [ core_kernel ];
367345 meta.description = "Jane Street Capital's asynchronous execution library (core)";
368346 };
369347
348+ protocol_version_header = janePackage {
349+ name = "protocol_version_header";
350+ hash = "159qmkb0dsfmr1lv2ly50aqszpm24bvrm3sw07n2zhkxgy6q613z";
351+ propagatedBuildInputs = [ core_kernel ocaml-migrate-parsetree ];
352+ meta.description = "Protocol aware version negotiation";
353+ };
354+
370355 async_rpc_kernel = janePackage {
371356 name = "async_rpc_kernel";
372− hash = "1ardfr4vwbzc41qa2ccmzp15m9w3nbdl9cy4crvm87fi0ngkhixy";
357+ hash = "0wl7kp30qxkalk91q5pja9agsvvmdjvb2q7s3m79dlvwwi11l33y";
373358 propagatedBuildInputs = [ core_kernel async_kernel protocol_version_header ];
374359 meta.description = "Platform-independent core of Async RPC library";
375360 };
376361
377362 async_unix = janePackage {
378363 name = "async_unix";
379− hash = "151pn0543fwvi5gkdkbd05v8y9gjbxi1n69r4jxzc0bh842xx4xz";
364+ hash = "1y5za5fdh0x82zdjigxci9zm9jnpfd2lfgpjcq4rih3s28f16sf7";
380365 propagatedBuildInputs = [ core async_kernel ];
381366 meta.description = "Jane Street Capital's asynchronous execution library (unix)";
382367 };
383368
384369 async_extra = janePackage {
385370 name = "async_extra";
386− hash = "0vf3nfj8h7vnigs8l8m1bsg6w3szgaylaps6mbl4dsaihxdc732n";
371+ hash = "1qac95zlvq34fh2wbwbw0vdzxnba6si8lkal7n09y2lzpwvsifx3";
387372 propagatedBuildInputs = [ async_rpc_kernel async_unix ];
388373 meta.description = "Jane Street's asynchronous execution library (extra)";
389374 };
390375
391376 async = janePackage {
392377 name = "async";
393− hash = "05ldvyw75648qrjx7q794m9llmlnqklh97lc09fv8biw515dby3d";
378+ hash = "1i05hzk4mhzj1mw98b2bdbxhnq03jvhkkkw4d948i6265jzrrbv5";
394379 propagatedBuildInputs = [ async_extra ];
395380 meta.description = "Jane Street Capital's asynchronous execution library";
396381 };
397382
398383 async_find = janePackage {
399384 name = "async_find";
400− hash = "05cpnz1m09h276cq6v3bh7da4iai14gmlh4cnh64v41f8hssw63s";
385+ hash = "0s0qafx74ri1vr2vv3iy1j7s3p6gp7vyg0mw5g17iafk0w6lv2iq";
401386 propagatedBuildInputs = [ async ];
402387 meta.description = "Directory traversal with Async";
403388 };
404389
405390 async_interactive = janePackage {
406391 name = "async_interactive";
407− hash = "1h2419l6nlqph3ipp5zdwyq55d3s602i4bv4jhsridmzy6cxxdxs";
392+ hash = "01rlfcylpiak6a2n6q3chp73cvkhvb65n906dj0flmxmagn7dxd1";
408393 propagatedBuildInputs = [ async ];
409394 meta.description = "Utilities for building simple command-line based user interfaces";
410395 };
411396
412397 async_parallel = janePackage {
413398 name = "async_parallel";
414− hash = "0r8q73v26w3grj9n9wyrf65cq9w6pfzrmg9iswsy4jjb5r02bpr5";
399+ hash = "0hak8ba3rfzqhz5hz2annqmsv5bkqzdihhafp0f58ryrlskafwag";
415400 propagatedBuildInputs = [ async ];
416401 meta.description = "Distributed computing library";
417402 };
418403
419404 async_shell = janePackage {
420405 name = "async_shell";
421− hash = "1snkr944l3a627k23yh8f0lr900dpg2aym2l59fpp75s29pyk5md";
406+ hash = "1jb01ygfnhabsy72xlcg11vp7rr37sg555sm0k3yxl4r5az3y2ay";
422407 propagatedBuildInputs = [ core_extended async ];
423− meta = {
424− description = "Shell helpers for Async";
425− };
408+ meta.description = "Shell helpers for Async";
426409 };
427410
428411 async_ssl = janePackage {
429412 name = "async_ssl";
430− hash = "1cb9wpmgifa5vj9gadbav6bq6vxcm3g0jc6wxnkj3hgvnj35j2vy";
413+ hash = "1p83fzfla4rb820irdrz3f2hp8kq5zrhw47rqmfv6qydlca1bq64";
431414 propagatedBuildInputs = [ async ctypes openssl ];
432415 meta.description = "Async wrappers for SSL";
433416 };
434417
435− # Jane Street packages, up to expect_test_helpers
436−
437418 sexp_pretty = janePackage {
438419 name = "sexp_pretty";
439− hash = "106r91ahzdr8yvphs1s3ck8r89c4qhpcl9q6j5rbxrbihgb71i8d";
440− propagatedBuildInputs = [ ppx_base re ];
420+ hash = "0xskahjggbwvvb82fn0jp1didxbgpmgks76xhwp9s3vqkhgz6918";
421+ propagatedBuildInputs = [ ppx_base re sexplib ];
441422 meta.description = "S-expression pretty-printer";
442423 };
443424
444425 expect_test_helpers_kernel = janePackage {
445426 name = "expect_test_helpers_kernel";
446− hash = "027pwfkdnz8rzgg9dqa4x2ir0zn8lav7gh64cih35r455xbfnvpr";
427+ hash = "0m113vq4m1xm3wmwa08r6qjc7p5f0y3ss8s4i2z591ycgs2fxzlj";
447428 propagatedBuildInputs = [ core_kernel sexp_pretty ];
448429 meta.description = "Helpers for writing expectation tests";
449430 };
450431
451432 expect_test_helpers = janePackage {
452433 name = "expect_test_helpers";
453− hash = "0rzsgj8h73gx18sz1a1d3pbrjkb0vd6shl1h71n4xl05njcfb73r";
434+ hash = "13n6h7mimwkbsjdix96ghfrmxjd036m4h4zgl8qag00aacqclvpi";
454435 propagatedBuildInputs = [ async expect_test_helpers_kernel ];
455436 meta.description = "Async helpers for writing expectation tests";
456437 };
457438
458− # Miscellaneous Jane Street packages
459−
460439 bignum = janePackage {
461440 name = "bignum";
462− hash = "0vs52aqq7pwazgv35zdd66c5v5ha1wrgrcmzc17c2qbswy8wcc37";
441+ hash = "0hqd88fb90rsj1wjj4k79gigcf31c6a45msasw99zzifzppr3w3f";
463442 propagatedBuildInputs = [ core_kernel zarith num ];
464443 meta.description = "Core-flavoured wrapper around zarith's arbitrary-precision rationals";
465444 };
466445
467446 cinaps = janePackage {
468447 name = "cinaps";
469− hash = "1mwllcakvsirxpbwcqlglwqkiz8cks7vbjf1jvngs9703mx1xdcy";
448+ hash = "0f8cx4xkkk4wqpcbvva8kxdndbgawljp17dwppc6zpjpkjl8s84j";
470449 propagatedBuildInputs = [ re ];
471450 meta.description = "Trivial Metaprogramming tool using the OCaml toplevel";
472451 };
473452
474453 command_rpc = janePackage {
475454 name = "command_rpc";
476− hash = "0lq1vcz8qyyqabrz9isw2pw50663lwmq4w3187jp99ygar9lk5n2";
455+ hash = "111v4km0ds8ixmpmwg9ck36ap97400mqzhijf57kj6wfwgzcmr2g";
477456 propagatedBuildInputs = [ async ];
478457 meta.description = "Utilities for Versioned RPC communication with a child process over stdin and stdout";
479458 };
480459
460+ # Deprecated libraries
461+
462+ ppx_ast = janePackage {
463+ name = "ppx_ast";
464+ hash = "125bzswcwr3nb26ss8ydh8z4218c8fi3s2kvgqp1j1fhc5wwzqgj";
465+ propagatedBuildInputs = [ ppxlib ];
466+ meta.description = "Deprecated (see ppxlib)";
467+ };
468+
469+ ppx_core = janePackage {
470+ name = "ppx_core";
471+ hash = "11hgm9mxig4cm3c827f6dns9mjv3pf8g6skf10x0gw9xnp1dmzmx";
472+ propagatedBuildInputs = [ ppxlib ];
473+ meta.description = "Deprecated (see ppxlib)";
474+ };
475+
476+ ppx_driver = janePackage {
477+ name = "ppx_driver";
478+ hash = "00kfx6js2kxk57k4v7hiqvwk7h35whgjihnxf75m82rnaf4yzvfi";
479+ propagatedBuildInputs = [ ppxlib ];
480+ meta.description = "Deprecated (see ppxlib)";
481+ };
482+
483+ ppx_metaquot = janePackage {
484+ name = "ppx_metaquot";
485+ hash = "1vz8bi56jsz8w0894vgbfsfvmdyh5k1dgv45l8vhkks0s7d3ldji";
486+ propagatedBuildInputs = [ ppxlib ];
487+ meta.description = "Deprecated (see ppxlib)";
488+ };
489+
490+ ppx_traverse = janePackage {
491+ name = "ppx_traverse";
492+ hash = "1p2n5da4mxh9fk4gvxlibc706bs5xwkbppxd1x0ip1vln5pabbq5";
493+ propagatedBuildInputs = [ ppxlib ];
494+ meta.description = "Deprecated (see ppxlib)";
495+ };
496+
497+ ppx_traverse_builtins = janePackage {
498+ name = "ppx_traverse_builtins";
499+ hash = "0qlf7i8h8k3a9h8nhb0ki3y1knr6wgbm24f1qaqni53fpvzv0pfb";
500+ propagatedBuildInputs = [ ppxlib ];
501+ meta.description = "Deprecated (see ppxlib)";
502+ };
503+
504+ ppx_type_conv = janePackage {
505+ name = "ppx_type_conv";
506+ hash = "04dbrglqqhkas25cpjz8xhjcbpk141c35qggzw66bn69izczfmaf";
507+ propagatedBuildInputs = [ ppxlib ];
508+ meta.description = "Deprecated (see ppxlib)";
509+ };
510+
511+ # Miscellaneous Jane Street packages
512+
481513 core_bench = janePackage {
482514 name = "core_bench";
483− hash = "1py68z848gj5wdmknqmzdb6zg65k5zchv6i6vzygi5nszn3zzwgc";
515+ hash = "10i28ssfdqxxhq0rvnlp581lr1cq2apkhmm8j83fksjkmbxcrasc";
484516 propagatedBuildInputs = [ core_extended ];
485− meta = {
486− description = "Micro-benchmarking library for OCaml";
487− };
517+ meta.description = "Micro-benchmarking library for OCaml";
488518 };
489519
490520 core_profiler = janePackage {
491521 name = "core_profiler";
492− hash = "1vqkb8fzhs0k94k78whjnsznj85qa18kp0bq73mdkffz9562hdyr";
522+ hash = "1kaaw3jp3qarbd9rgpjfb9md0dqblf2bxiqb245sqmx4c1346v1c";
493523 propagatedBuildInputs = [ core_extended ];
494− meta = {
495− description = "Profiling library";
496− };
524+ meta.description = "Profiling library";
497525 };
498526
499527 csvfields = janePackage {
500528 name = "csvfields";
501− hash = "1qvcm2xkpw5ca5za2dfvz154h6kzm565wvynh7fffvrj2q719flm";
529+ hash = "10zw4fjlniivfdzzz79lnbvcjnhk5y16m1p8mn4xbs23n6mbix0f";
502530 propagatedBuildInputs = [ core expect_test_helpers ];
503531 meta.description = "Runtime support for ppx_xml_conv and ppx_csv_conv";
504532 };
505533
506534 ecaml = janePackage {
507535 name = "ecaml";
508− hash = "1h8m8nznsyc8md8f5rx3845lpl37ijqpxkpd52w92xy5hlc9bk1k";
536+ hash = "1is5156q59s427x3q5nh9wsi8h1x77670bmyilqxasy39yway7g8";
509537 propagatedBuildInputs = [ async expect_test_helpers_kernel ];
510538 meta.description = "Writing Emacs plugin in OCaml";
511539 };
512540
513541 email_message = janePackage {
514542 name = "email_message";
515− hash = "0p56lak1ynqmimapsz529ankgdyd5yk90c0193q8fzv7fvvrzkzd";
543+ hash = "131jd72k4s8cdbgg6gyg7w5v8mphdlvdx4fgvh8d9a1m7kkvbxfg";
516544 propagatedBuildInputs = [ async angstrom core_extended cryptokit magic-mime ounit ];
517− meta = {
518− description = "E-mail message parser";
519− };
545+ meta.description = "E-mail message parser";
520546 };
521547
522548 incremental_kernel = janePackage {
523549 name = "incremental_kernel";
524− hash = "15xw3l07fdqk5sla37fdvfnwykvq6fyrj9b2lwhc29rq0444m1yz";
550+ hash = "02arw8blpmnzlw5jlvavyvpgh3s9q0j9mhi2byz0x8cxknqvvasg";
525551 propagatedBuildInputs = [ core_kernel ];
526552 meta.description = "Library for incremental computations depending only on core_kernel";
527553 };
528554
529555 incremental = janePackage {
530556 name = "incremental";
531− hash = "14hh7kxj70bpgylnx1fj3s5c40d12sgcb11cnh1xh7nwm190a9c2";
557+ hash = "1xchd3v4kj56wixjrsnj7m7l0374cgkzybihs2b62mn65xf6n7ki";
532558 propagatedBuildInputs = [ core incremental_kernel ];
533559 meta.description = "Library for incremental computations";
534560 };
535561
536562 incr_map = janePackage {
537563 name = "incr_map";
538− hash = "0s6c7f8a80s7bnjxcs7mdgm45i24d1j0vw4i2j884z1ssjrk33hw";
564+ hash = "01vx9aldxpigz5ah9h337xcw73a7r8449v8l2xbralljhs0zglx9";
539565 propagatedBuildInputs = [ incremental_kernel ];
540566 meta.description = "Helpers for incremental operations on map like data structures";
541567 };
542568
543569 ocaml_plugin = janePackage {
544570 name = "ocaml_plugin";
545− hash = "0b63ciajc9hcjs3pl0chlj475y60i3l5mjzaiqmyz1pryfqpri7r";
571+ hash = "0fal5j59qkbksg6ak1ngn92pcgg3f9gwfaglpxb7l6bck20kaigp";
546572 buildInputs = [ ocamlbuild ];
547573 propagatedBuildInputs = [ async ];
548574 meta.description = "Automatically build and dynlink ocaml source files";
549575 };
550576
551− parsexp = janePackage {
552− name = "parsexp";
553− hash = "1k1z6kyp7c53l0wspz6qpvbb46bbr6aimnr06y6y1prxrpazm62w";
554− propagatedBuildInputs = [ ppx_compare ppx_fields_conv ppx_js_style ppx_sexp_value ];
555− meta.description = "S-expression parsing library";
556− };
557−
558577 parsexp_io = janePackage {
559578 name = "parsexp_io";
560− hash = "0l9jrfm1zz0y6bfxla2s0fwjlvs9361ky83z3xwdlc48fgzks3a5";
561− propagatedBuildInputs = [ parsexp ];
579+ hash = "0rhdl40jiirvv6fhgjk50n8wzs3jly5d8dyyyfgpjgl39mwkjjnb";
580+ propagatedBuildInputs = [ parsexp ppx_js_style ];
562581 meta.description = "S-expression parsing library (IO functions)";
563582 };
564583
565584 patience_diff = janePackage {
566585 name = "patience_diff";
567− hash = "11ws6hsalmq7zc7wp37mj7zs3qaqkq4zlnwr06ybryv6vz62xj1l";
586+ hash = "0q7a64fgg97qcd6d8c45gyz63x5vq004axxqvvfg92b8f3x2plx4";
568587 propagatedBuildInputs = [ core_kernel ];
569588 meta.description = "Tool and library implementing patience diff";
570589 };
571590
572591 posixat = janePackage {
573592 name = "posixat";
574− hash = "0dmjzbpbmzl94h4c1gk6k75wglnvk1kqcm4zs4nb9hy2ja8ldl9x";
575− propagatedBuildInputs = [ ppx_sexp_conv ];
593+ hash = "04rs4sl0r4rg9m6l9kkqkmc4n87sv4a4w9ibq4zsjk9j4n6r2df8";
594+ propagatedBuildInputs = [ ppx_optcomp ppx_sexp_conv sexplib ];
576595 meta.description = "Binding to the posix *at functions";
577596 };
578597
579− protocol_version_header = janePackage {
580− name = "protocol_version_header";
581− hash = "1vl1kfn8n1zdm3vh7228c58vprac4v7mpqks60k8rnzjj4w2mj1n";
582− propagatedBuildInputs = [ core_kernel ocaml-migrate-parsetree ];
583− meta.description = "Protocol aware version negotiation";
584− };
585−
586598 rpc_parallel = janePackage {
587599 name = "rpc_parallel";
588− hash = "01nyjqgdj351ykdaqqpaljwzac48x824lzfpma64lbp6plqmjlbf";
600+ hash = "13dx59x73i8mkwv2qkh8gx6kk8arlvghj57k1jdscdmzmyqc9gvn";
589601 propagatedBuildInputs = [ async ];
590602 meta.description = "Type-safe library for building parallel applications";
591603 };
592604
593605 shexp = janePackage {
606+ version = "0.11.1";
594607 name = "shexp";
595− hash = "1ck5gcsdp93194bw6d1i116zplyaqrz1r36h6mvrw5x7i2549n9p";
608+ hash = "06yssp7bsmabaxvw9bqxyrsji1gkvl7if5adba3v6h4kilqy7rqg";
596609 propagatedBuildInputs = [ posixat spawn ];
597610 meta.description = "Process library and s-expression based shell";
598611 };
599612
600613 topological_sort = janePackage {
601614 name = "topological_sort";
602− hash = "08w1dx30frj2bxxk8djl23cd43sassjkrmissyhagn9fmq2l904m";
615+ hash = "1qnz5b1rs45lsl1ycxd1lglpmh8444gy5khhdp5fvxy987zkzklz";
603616 propagatedBuildInputs = [ core_kernel ];
604617 meta.description = "Topological sort algorithm";
605618 };
pkgs/development/ocaml-modules/janestreet/janePackage.nix+1−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, jbuilder, findlib, defaultVersion ? "0.10.0" }:
1+{ stdenv, fetchFromGitHub, ocaml, jbuilder, findlib, defaultVersion ? "0.11.0" }:
22
33{ name, version ? defaultVersion, buildInputs ? [], hash, meta, ...}@args:
44
pkgs/development/ocaml-modules/nocrypto/default.nix+28−10
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, topkg
1+{ stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, topkg
22, cpuid, ocb-stubblr
3−, cstruct, zarith, ppx_sexp_conv, sexplib
3+, cstruct, zarith, ppx_sexp_conv
44, cstruct-lwt ? null
55}:
66
@@ -11,16 +11,34 @@ stdenv.mkDerivation rec {
1111 name = "ocaml${ocaml.version}-nocrypto-${version}";
1212 version = "0.5.4";
1313
14− src = fetchFromGitHub {
15− owner = "mirleft";
16− repo = "ocaml-nocrypto";
17− rev = "v${version}";
18− sha256 = "0nhnlpbqh3mf9y2cxivlvfb70yfbdpvg6jslzq64xblpgjyg443p";
14+ src = fetchurl {
15+ url = "https://github.com/mirleft/ocaml-nocrypto/releases/download/v${version}/nocrypto-${version}.tbz";
16+ sha256 = "0zshi9hlhcz61n5z1k6fx6rsi0pl4xgahsyl2jp0crqkaf3hqwlg";
1917 };
2018
21− buildInputs = [ ocaml findlib ocamlbuild topkg cpuid ocb-stubblr
22− ppx_sexp_conv ];
23− propagatedBuildInputs = [ cstruct zarith sexplib ] ++ optional withLwt cstruct-lwt;
19+ unpackCmd = "tar xjf $curSrc";
20+
21+ patches = [
22+ (fetchpatch {
23+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/nocrypto/nocrypto.0.5.4-1/files/0001-add-missing-runtime-dependencies-in-_tags.patch";
24+ sha256 = "1asybwj3rl07b4q4cxwy80a7j17j0i5vzz77p38hymilhc2ky7xn";
25+ })
26+ (fetchpatch {
27+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/nocrypto/nocrypto.0.5.4-1/files/0002-add-ppx_sexp_conv-as-a-runtime-dependency-in-the-pac.patch";
28+ sha256 = "0zmp64n5fgkawpkyw0vv0bg0i2c3xbsxqy17vwy92nf5rbardi1r";
29+ })
30+ (fetchpatch {
31+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/nocrypto/nocrypto.0.5.4-1/files/0003-Auto-detect-ppx_sexp_conv-runtime-library.patch";
32+ sha256 = "0lngbg5gyd5gs56lbjh6g86cps1y8x1xsqzi0vi1v28al1gn5dhw";
33+ })
34+ (fetchpatch {
35+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/nocrypto/nocrypto.0.5.4-1/files/0004-pack-package-workaround-ocamlbuild-272.patch";
36+ sha256 = "16k0w78plvqhl17qiqq1mckxhhcdysqgs94l54a1bn0l6fx3rvb9";
37+ })
38+ ];
39+
40+ buildInputs = [ ocaml findlib ocamlbuild topkg cpuid ocb-stubblr ];
41+ propagatedBuildInputs = [ cstruct ppx_sexp_conv zarith ] ++ optional withLwt cstruct-lwt;
2442
2543 buildPhase = "${topkg.buildPhase} --with-lwt ${boolToString withLwt}";
2644 inherit (topkg) installPhase;
pkgs/development/ocaml-modules/ppxlib/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder
2+, ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio
3+}:
4+
5+stdenv.mkDerivation rec {
6+ version = "0.3.0";
7+ name = "ocaml${ocaml.version}-ppxlib-${version}";
8+
9+ src = fetchFromGitHub {
10+ owner = "ocaml-ppx";
11+ repo = "ppxlib";
12+ rev = version;
13+ sha256 = "0csp49jh7zgjnqh46mxbf322whlbmgy7v1a12nvxh97qg6i5fvsy";
14+ };
15+
16+ buildInputs = [ ocaml findlib jbuilder ];
17+
18+ propagatedBuildInputs = [
19+ ocaml-compiler-libs ocaml-migrate-parsetree ppx_derivers stdio
20+ ];
21+
22+ buildPhase = "jbuilder build";
23+
24+ inherit (jbuilder) installPhase;
25+
26+ meta = {
27+ description = "Comprehensive ppx tool set";
28+ license = stdenv.lib.licenses.mit;
29+ maintainers = [ stdenv.lib.maintainers.vbgl ];
30+ inherit (src.meta) homepage;
31+ inherit (ocaml.meta) platforms;
32+ };
33+
34+}
pkgs/development/ocaml-modules/tls/default.nix+4
@@ -6,6 +6,10 @@ with stdenv.lib;
66
77let withLwt = lwt != null; in
88
9+if !versionAtLeast ocaml.version "4.04"
10+then throw "tls is not available for OCaml ${ocaml.version}"
11+else
12+
913stdenv.mkDerivation rec {
1014 version = "0.9.0";
1115 name = "ocaml${ocaml.version}-tls-${version}";
pkgs/development/ocaml-modules/uri/default.nix+3−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, ocaml, findlib, jbuilder, ppx_sexp_conv, ounit
2−, ppx_deriving, re, sexplib, stringext
2+, re, sexplib, stringext
33}:
44
55stdenv.mkDerivation rec {
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
1313
1414 unpackCmd = "tar -xjf $curSrc";
1515
16− buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ounit ];
17− propagatedBuildInputs = [ ppx_deriving re sexplib stringext ];
16+ buildInputs = [ ocaml findlib jbuilder ounit ];
17+ propagatedBuildInputs = [ ppx_sexp_conv re sexplib stringext ];
1818
1919 buildPhase = "jbuilder build";
2020
pkgs/tools/misc/patdiff/default.nix+1−1
@@ -4,7 +4,7 @@ with ocamlPackages;
44
55janePackage {
66 name = "patdiff";
7− hash = "04kl9h7j3pzpyic8p34b8i9vpf6qn7ixp077d8i44cpbymdqdn96";
7+ hash = "02cdn5j5brbp4n2rpxprzxfakjbl7n2llixg7m632bih3ppmfcq1";
88 buildInputs = [ core_extended expect_test_helpers patience_diff ocaml_pcre ];
99 meta = {
1010 description = "File Diff using the Patience Diff algorithm";
pkgs/top-level/ocaml-packages.nix+14−1
@@ -56,6 +56,17 @@ let
5656
5757 bap = callPackage ../development/ocaml-modules/bap {
5858 inherit (janeStreet_0_9_0) core_kernel ppx_jane parsexp;
59+ ezjsonm = ezjsonm.override {
60+ inherit (janeStreet_0_9_0) sexplib;
61+ hex = hex.override {
62+ cstruct = cstruct.override {
63+ inherit (janeStreet_0_9_0) sexplib;
64+ };
65+ };
66+ };
67+ uri = uri.override {
68+ inherit (janeStreet_0_9_0) ppx_sexp_conv sexplib;
69+ };
5970 };
6071
6172 batteries = callPackage ../development/ocaml-modules/batteries { };
@@ -531,6 +542,8 @@ let
531542 piqi = callPackage ../development/ocaml-modules/piqi { };
532543 piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
533544
545+ ppxlib = callPackage ../development/ocaml-modules/ppxlib { };
546+
534547 psmt2-frontend = callPackage ../development/ocaml-modules/psmt2-frontend { };
535548
536549 psq = callPackage ../development/ocaml-modules/psq { };
@@ -735,7 +748,7 @@ let
735748 janeStreet = import ../development/ocaml-modules/janestreet {
736749 inherit lib janePackage ocaml ocamlbuild angstrom ctypes cryptokit;
737750 inherit magic-mime num ocaml-migrate-parsetree octavius ounit;
738− inherit ppx_deriving re zarith;
751+ inherit ppx_deriving re zarith ppxlib;
739752 inherit (pkgs) stdenv openssl;
740753 };
741754