tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
sexplib: 112.24.01 -> 112.24.01/113.33.03
PPX/P4 split
Matthew Maurer
9 years ago
fc4b5786
3eb02d9f
+57
-37
20 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
async_extra
default.nix
async_find
default.nix
async_kernel
default.nix
async_ssl
default.nix
async_unix
default.nix
cohttp
default.nix
conduit
default.nix
core
default.nix
core_extended
default.nix
core_kernel
default.nix
cstruct
default.nix
custom_printf
default.nix
ezjsonm
default.nix
ipaddr
default.nix
janestreet
sexplib.nix
pa_test
default.nix
re2
default.nix
textutils
default.nix
uri
default.nix
top-level
all-packages.nix
+2
-2
pkgs/development/ocaml-modules/async_extra/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, async_kernel, async_unix,
2
2
bin_prot, core, custom_printf, fieldslib_p4, herelib, pa_ounit,
3
3
-
pipebang, pa_test, sexplib}:
3
3
+
pipebang, pa_test, sexplib_p4}:
4
4
5
5
buildOcaml rec {
6
6
name = "async_extra";
···
15
15
16
16
buildInputs = [ pa_test pa_ounit ];
17
17
propagatedBuildInputs = [ async_kernel async_unix core bin_prot custom_printf
18
18
-
fieldslib_p4 herelib pipebang sexplib ];
18
18
+
fieldslib_p4 herelib pipebang sexplib_p4 ];
19
19
20
20
meta = with stdenv.lib; {
21
21
homepage = https://github.com/janestreet/async_extra;
+2
-2
pkgs/development/ocaml-modules/async_find/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, async, core, sexplib}:
1
1
+
{stdenv, buildOcaml, fetchurl, async, core, sexplib_p4}:
2
2
3
3
buildOcaml rec {
4
4
name = "async_find";
···
11
11
sha256 = "4e3fda72f50174f05d96a5a09323f236c041b1a685890c155822956f3deb8803";
12
12
};
13
13
14
14
-
propagatedBuildInputs = [ async core sexplib ];
14
14
+
propagatedBuildInputs = [ async core sexplib_p4 ];
15
15
16
16
meta = with stdenv.lib; {
17
17
homepage = https://github.com/janestreet/async_find;
+2
-2
pkgs/development/ocaml-modules/async_kernel/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, core_kernel,
2
2
bin_prot, fieldslib_p4, pa_ounit, pa_test,
3
3
-
sexplib, herelib}:
3
3
+
sexplib_p4, herelib}:
4
4
5
5
buildOcaml rec {
6
6
name = "async_kernel";
···
14
14
};
15
15
16
16
buildInputs = [ pa_test pa_ounit ];
17
17
-
propagatedBuildInputs = [ core_kernel bin_prot fieldslib_p4 herelib sexplib ];
17
17
+
propagatedBuildInputs = [ core_kernel bin_prot fieldslib_p4 herelib sexplib_p4 ];
18
18
19
19
meta = with stdenv.lib; {
20
20
homepage = https://github.com/janestreet/async_kernel;
+2
-2
pkgs/development/ocaml-modules/async_ssl/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, async, comparelib, core, ctypes, openssl,
2
2
-
fieldslib_p4, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib}:
2
2
+
fieldslib_p4, herelib, pa_bench, pa_ounit, pipebang, pa_test, sexplib_p4}:
3
3
4
4
buildOcaml rec {
5
5
name = "async_ssl";
···
14
14
15
15
buildInputs = [ pa_bench pa_test ];
16
16
propagatedBuildInputs = [ ctypes async comparelib core fieldslib_p4 pa_ounit
17
17
-
herelib pipebang sexplib openssl ];
17
17
+
herelib pipebang sexplib_p4 openssl ];
18
18
19
19
meta = with stdenv.lib; {
20
20
homepage = https://github.com/janestreet/async_ssl;
+2
-2
pkgs/development/ocaml-modules/async_unix/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, async_kernel,
2
2
bin_prot, comparelib, core, fieldslib_p4, herelib, pa_ounit,
3
3
-
pipebang, pa_test, sexplib}:
3
3
+
pipebang, pa_test, sexplib_p4}:
4
4
5
5
buildOcaml rec {
6
6
name = "async_unix";
···
16
16
hasSharedObjects = true;
17
17
buildInputs = [ pa_ounit ];
18
18
propagatedBuildInputs = [ async_kernel core bin_prot comparelib
19
19
-
fieldslib_p4 herelib pipebang pa_test sexplib ];
19
19
+
fieldslib_p4 herelib pipebang pa_test sexplib_p4 ];
20
20
21
21
meta = with stdenv.lib; {
22
22
homepage = https://github.com/janestreet/async_unix;
+2
-2
pkgs/development/ocaml-modules/cohttp/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib_p4, sexplib, conduit,
1
1
+
{stdenv, buildOcaml, fetchurl, cmdliner, re, uri, fieldslib_p4, sexplib_p4, conduit,
2
2
stringext, base64, magic-mime, ounit, alcotest, lwt ? null,
3
3
async ? null, async_ssl ? null}:
4
4
···
14
14
};
15
15
16
16
buildInputs = [ alcotest ];
17
17
-
propagatedBuildInputs = [ cmdliner re uri fieldslib_p4 sexplib sexplib
17
17
+
propagatedBuildInputs = [ cmdliner re uri fieldslib_p4 sexplib_p4 sexplib_p4
18
18
conduit stringext base64 magic-mime ounit async
19
19
async_ssl lwt ];
20
20
+2
-2
pkgs/development/ocaml-modules/conduit/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, sexplib, stringext, uri, cstruct, ipaddr,
1
1
+
{stdenv, buildOcaml, fetchurl, sexplib_p4, stringext, uri, cstruct, ipaddr,
2
2
async ? null, async_ssl ? null, lwt ? null}:
3
3
4
4
buildOcaml rec {
···
10
10
sha256 = "5cf1a46aa0254345e5143feebe6b54bdef96314e9987f44e69f24618d620faa1";
11
11
};
12
12
13
13
-
propagatedBuildInputs = ([ sexplib stringext uri cstruct ipaddr ]
13
13
+
propagatedBuildInputs = ([ sexplib_p4 stringext uri cstruct ipaddr ]
14
14
++ stdenv.lib.optional (lwt != null) lwt
15
15
++ stdenv.lib.optional (async != null) async
16
16
++ stdenv.lib.optional (async_ssl != null) async_ssl);
+2
-2
pkgs/development/ocaml-modules/core/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, type_conv,
2
2
core_kernel, bin_prot, comparelib, custom_printf, enumerate,
3
3
fieldslib_p4, herelib, pa_bench, pa_test, pa_ounit,
4
4
-
pipebang, sexplib, typerep_p4, variantslib}:
4
4
+
pipebang, sexplib_p4, typerep_p4, variantslib}:
5
5
6
6
buildOcaml rec {
7
7
name = "core";
···
19
19
buildInputs = [ pa_bench pa_test pa_ounit ];
20
20
propagatedBuildInputs = [ type_conv core_kernel bin_prot comparelib
21
21
custom_printf enumerate fieldslib_p4 herelib
22
22
-
pipebang sexplib typerep_p4 variantslib ];
22
22
+
pipebang sexplib_p4 typerep_p4 variantslib ];
23
23
24
24
meta = with stdenv.lib; {
25
25
homepage = https://github.com/janestreet/core;
+2
-2
pkgs/development/ocaml-modules/core_extended/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, bin_prot, comparelib, core, custom_printf,
2
2
-
fieldslib_p4, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib}:
2
2
+
fieldslib_p4, pa_bench, pa_ounit, pipebang, pa_test, textutils, re2, sexplib_p4}:
3
3
4
4
buildOcaml rec {
5
5
name = "core_extended";
···
15
15
hasSharedObjects = true;
16
16
buildInputs = [ pa_bench pa_test pa_ounit ];
17
17
propagatedBuildInputs = [bin_prot comparelib core custom_printf fieldslib_p4
18
18
-
pipebang textutils re2 sexplib ];
18
18
+
pipebang textutils re2 sexplib_p4 ];
19
19
20
20
meta = with stdenv.lib; {
21
21
homepage = https://github.com/janestreet/core_extended;
+2
-2
pkgs/development/ocaml-modules/core_kernel/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, type_conv,
2
2
bin_prot, comparelib, custom_printf, enumerate,
3
3
fieldslib_p4, herelib, pa_bench, pa_test, pa_ounit,
4
4
-
pipebang, sexplib, typerep_p4, variantslib}:
4
4
+
pipebang, sexplib_p4, typerep_p4, variantslib}:
5
5
6
6
buildOcaml rec {
7
7
name = "core_kernel";
···
18
18
19
19
buildInputs = [ pa_test pa_ounit ];
20
20
propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
21
21
-
enumerate fieldslib_p4 herelib pipebang sexplib
21
21
+
enumerate fieldslib_p4 herelib pipebang sexplib_p4
22
22
typerep_p4 variantslib ];
23
23
24
24
meta = with stdenv.lib; {
+2
-2
pkgs/development/ocaml-modules/cstruct/default.nix
···
1
1
-
{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib, findlib,
1
1
+
{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib_p4, findlib,
2
2
async ? null, lwt ? null, camlp4}:
3
3
4
4
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
···
14
14
configureFlags = stdenv.lib.strings.concatStringsSep " " ((if lwt != null then ["--enable-lwt"] else []) ++
15
15
(if async != null then ["--enable-async"] else []));
16
16
buildInputs = [ocaml findlib camlp4];
17
17
-
propagatedBuildInputs = [ocplib-endian sexplib lwt async];
17
17
+
propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async];
18
18
19
19
createFindlibDestdir = true;
20
20
dontStrip = true;
+2
-2
pkgs/development/ocaml-modules/custom_printf/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, type_conv, sexplib, pa_ounit}:
1
1
+
{stdenv, buildOcaml, fetchurl, type_conv, sexplib_p4, pa_ounit}:
2
2
3
3
buildOcaml rec {
4
4
name = "custom_printf";
···
12
12
};
13
13
14
14
buildInputs = [ pa_ounit ];
15
15
-
propagatedBuildInputs = [ type_conv sexplib ];
15
15
+
propagatedBuildInputs = [ type_conv sexplib_p4 ];
16
16
17
17
meta = with stdenv.lib; {
18
18
homepage = https://github.com/janestreet/custom_printf;
+2
-2
pkgs/development/ocaml-modules/ezjsonm/default.nix
···
1
1
-
{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }:
1
1
+
{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib_p4, lwt }:
2
2
3
3
let version = "0.4.1"; in
4
4
···
11
11
};
12
12
13
13
buildInputs = [ ocaml findlib ];
14
14
-
propagatedBuildInputs = [ jsonm hex sexplib lwt ];
14
14
+
propagatedBuildInputs = [ jsonm hex sexplib_p4 lwt ];
15
15
createFindlibDestdir = true;
16
16
17
17
configureFlags = "--enable-lwt";
+2
-2
pkgs/development/ocaml-modules/ipaddr/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, sexplib}:
1
1
+
{stdenv, buildOcaml, fetchurl, sexplib_p4}:
2
2
3
3
buildOcaml rec {
4
4
name = "ipaddr";
···
9
9
sha256 = "7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0";
10
10
};
11
11
12
12
-
propagatedBuildInputs = [ sexplib ];
12
12
+
propagatedBuildInputs = [ sexplib_p4 ];
13
13
14
14
configurePhase = ''
15
15
ocaml setup.ml -configure --prefix $out
+18
pkgs/development/ocaml-modules/janestreet/sexplib.nix
···
1
1
+
{stdenv, buildOcamlJane, type_conv}:
2
2
+
3
3
+
buildOcamlJane rec {
4
4
+
minimumSupportedOcamlVersion = "4.02";
5
5
+
name = "sexplib";
6
6
+
version = "113.33.03";
7
7
+
8
8
+
hash = "1klar4qw4s7bj47ig7kxz2m4j1q3c60pfppis4vxrxv15r0kfh22";
9
9
+
10
10
+
propagatedBuildInputs = [ type_conv ];
11
11
+
12
12
+
meta = with stdenv.lib; {
13
13
+
homepage = https://ocaml.janestreet.com/;
14
14
+
description = "Library for serializing OCaml values to and from S-expressions";
15
15
+
license = licenses.asl20;
16
16
+
maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
17
17
+
};
18
18
+
}
+2
-2
pkgs/development/ocaml-modules/pa_test/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib, herelib}:
1
1
+
{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit, sexplib_p4, herelib}:
2
2
3
3
buildOcaml rec {
4
4
name = "pa_test";
···
12
12
};
13
13
14
14
buildInputs = [ pa_ounit ];
15
15
-
propagatedBuildInputs = [ type_conv sexplib herelib ];
15
15
+
propagatedBuildInputs = [ type_conv sexplib_p4 herelib ];
16
16
17
17
meta = with stdenv.lib; {
18
18
homepage = https://github.com/janestreet/pa_test;
+2
-2
pkgs/development/ocaml-modules/re2/default.nix
···
1
1
{stdenv, buildOcaml, fetchurl, ocaml, core, pa_ounit, pa_test,
2
2
-
bin_prot, comparelib, sexplib, rsync}:
2
2
+
bin_prot, comparelib, sexplib_p4, rsync}:
3
3
4
4
buildOcaml rec {
5
5
name = "re2";
···
16
16
else null;
17
17
18
18
buildInputs = [ pa_ounit pa_test rsync ];
19
19
-
propagatedBuildInputs = [ core bin_prot comparelib sexplib ];
19
19
+
propagatedBuildInputs = [ core bin_prot comparelib sexplib_p4 ];
20
20
21
21
hasSharedObjects = true;
22
22
+2
-2
pkgs/development/ocaml-modules/textutils/default.nix
···
1
1
-
{stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib}:
1
1
+
{stdenv, buildOcaml, fetchurl, core, pa_ounit, pa_test, sexplib_p4}:
2
2
3
3
buildOcaml rec {
4
4
name = "textutils";
···
12
12
};
13
13
14
14
buildInputs = [ pa_test ];
15
15
-
propagatedBuildInputs = [ core pa_ounit sexplib ];
15
15
+
propagatedBuildInputs = [ core pa_ounit sexplib_p4 ];
16
16
17
17
meta = with stdenv.lib; {
18
18
homepage = https://github.com/janestreet/textutils;
+2
-2
pkgs/development/ocaml-modules/uri/default.nix
···
1
1
-
{ stdenv, fetchzip, ocaml, findlib, re, sexplib, stringext, ounit }:
1
1
+
{ stdenv, fetchzip, ocaml, findlib, re, sexplib_p4, stringext, ounit }:
2
2
3
3
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4";
4
4
···
13
13
};
14
14
15
15
buildInputs = [ ocaml findlib ounit ];
16
16
-
propagatedBuildInputs = [ re sexplib stringext ];
16
16
+
propagatedBuildInputs = [ re sexplib_p4 stringext ];
17
17
18
18
configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
19
19
buildPhase = ''
+3
-1
pkgs/top-level/all-packages.nix
···
5405
5405
sexplib_111_25_00 = callPackage ../development/ocaml-modules/sexplib/111.25.00.nix { };
5406
5406
sexplib_112_24_01 = callPackage ../development/ocaml-modules/sexplib/112.24.01.nix { };
5407
5407
5408
5408
-
sexplib =
5408
5408
+
sexplib_p4 =
5409
5409
if lib.versionOlder "4.02" ocaml_version
5410
5410
then sexplib_112_24_01
5411
5411
else if lib.versionOlder "4.00" ocaml_version
···
5563
5563
typerep = callPackage ../development/ocaml-modules/janestreet/typerep.nix {};
5564
5564
5565
5565
fieldslib = callPackage ../development/ocaml-modules/janestreet/fieldslib.nix {};
5566
5566
+
5567
5567
+
sexplib = callPackage ../development/ocaml-modules/janestreet/sexplib.nix {};
5566
5568
};
5567
5569
5568
5570
ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0;