ocamlPackages treewide: Add missing inputs
This commit is contained in:
parent
6e30c654e1
commit
661ee6b468
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, num, ounit
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild, qtest, qcheck, num, ounit
|
||||||
, doCheck ? lib.versionAtLeast ocaml.version "4.08" && !stdenv.isAarch64
|
, doCheck ? lib.versionAtLeast ocaml.version "4.08" && !stdenv.isAarch64
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
checkInputs = [ qtest ounit ];
|
checkInputs = [ qtest ounit qcheck ];
|
||||||
propagatedBuildInputs = [ num ];
|
propagatedBuildInputs = [ num ];
|
||||||
|
|
||||||
strictDeps = !doCheck;
|
strictDeps = !doCheck;
|
||||||
|
|
|
@ -15,8 +15,7 @@ buildDunePackage rec {
|
||||||
sha256 = "2a37ffaa352a1e145ef3d80ac28661213c69a741b238623e59f29e3d5a12c537";
|
sha256 = "2a37ffaa352a1e145ef3d80ac28661213c69a741b238623e59f29e3d5a12c537";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ppx_sexp_conv ];
|
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri logs ppx_sexp_conv ];
|
||||||
propagatedBuildInputs = [ astring ipaddr ipaddr-sexp sexplib uri logs ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A network connection establishment library";
|
description = "A network connection establishment library";
|
||||||
|
|
|
@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1nymykskq1yx87y4xl6hl9i4q6kv0qaq25rniqgl1bfn883p1ysc";
|
sha256 = "1nymykskq1yx87y4xl6hl9i4q6kv0qaq25rniqgl1bfn883p1ysc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ocaml findlib ];
|
nativeBuildInputs = [ perl ocaml findlib camlidl ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ apron camlidl gmp mpfr ];
|
propagatedBuildInputs = [ apron gmp mpfr ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ocaml findlib ];
|
nativeBuildInputs = [ pkg-config ocaml findlib ];
|
||||||
buildInputs = [ gdome2 libxslt];
|
buildInputs = [ libxslt ];
|
||||||
propagatedBuildInputs = [gdome2];
|
propagatedBuildInputs = [ gdome2 ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ core core_kernel sqlite ];
|
propagatedBuildInputs = [ core core_kernel sqlite ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description =
|
description =
|
||||||
|
|
|
@ -13,7 +13,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
cudf
|
cudf
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage
|
||||||
, logs, lwt, mirage-clock, mirage-profile, ptime
|
, logs, lwt, mirage-clock, mirage-profile, ptime
|
||||||
, alcotest
|
, alcotest, stdlib-shims
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -14,7 +14,7 @@ buildDunePackage rec {
|
||||||
sha256 = "0h0amzjxy067jljscib7fvw5q8k0adqa8m86affha9hq5jsh07a1";
|
sha256 = "0h0amzjxy067jljscib7fvw5q8k0adqa8m86affha9hq5jsh07a1";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ logs lwt mirage-clock mirage-profile ptime ];
|
propagatedBuildInputs = [ logs lwt mirage-clock mirage-profile ptime stdlib-shims ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, fetchurl, buildDunePackage
|
{ lib, fetchurl, buildDunePackage
|
||||||
, ppx_cstruct
|
, ppx_cstruct, stdlib-shims
|
||||||
, cstruct, lwt
|
, cstruct, lwt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ppx_cstruct ];
|
buildInputs = [ ppx_cstruct ];
|
||||||
propagatedBuildInputs = [ cstruct lwt ];
|
propagatedBuildInputs = [ cstruct lwt stdlib-shims ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Collect runtime profiling information in CTF format";
|
description = "Collect runtime profiling information in CTF format";
|
||||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "17xqiclaqs4hmnb92p9z6z9a1xfr31vcn8nlnj8ykk57by31vfza";
|
sha256 = "17xqiclaqs4hmnb92p9z6z9a1xfr31vcn8nlnj8ykk57by31vfza";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ocaml findlib mpfr camlidl ];
|
nativeBuildInputs = [ perl ocaml findlib camlidl ];
|
||||||
buildInputs = [ gmp mpfr ];
|
buildInputs = [ gmp mpfr ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
@ -22,8 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
sed -i Makefile \
|
substituteInPlace Makefile --replace "/bin/rm" "rm"
|
||||||
-e 's|/bin/rm|rm|'
|
|
||||||
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
|
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
buildInputs = [ astring result ];
|
propagatedBuildInputs = [ astring result ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Parser for Ocaml documentation comments";
|
description = "Parser for Ocaml documentation comments";
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
, ezjsonm
|
, ezjsonm
|
||||||
, hmap
|
, hmap
|
||||||
, sexplib
|
, sexplib
|
||||||
|
, fieldslib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -31,7 +32,7 @@ buildDunePackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
hmap cohttp-lwt ezjsonm sexplib
|
hmap cohttp-lwt ezjsonm sexplib fieldslib
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildDunePackage, fetchurl
|
{ lib, buildDunePackage, fetchurl
|
||||||
, ppx_cstruct, ppx_tools
|
, ppx_cstruct, ppx_tools
|
||||||
, cstruct, ounit, mmap
|
, cstruct, ounit, mmap, stdlib-shims
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -24,6 +24,7 @@ buildDunePackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cstruct
|
cstruct
|
||||||
|
stdlib-shims
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -15,7 +15,7 @@ buildOcaml rec {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
buildInputs = [ camlp4 ];
|
propagatedBuildInputs = [ camlp4 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/janestreet/pipebang";
|
homepage = "https://github.com/janestreet/pipebang";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims, num }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.7";
|
version = "0.7.7";
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ ocaml findlib ];
|
nativeBuildInputs = [ ocaml findlib ];
|
||||||
buildInputs = [ piqi stdlib-shims ];
|
buildInputs = [ piqi stdlib-shims ];
|
||||||
|
|
||||||
|
checkInputs = [ num ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
|
@ -27,17 +27,19 @@ buildDunePackage rec {
|
||||||
sha256 = "15cjb9ygnvp2kv85rrb7ncz7yalifyl7wd2hp2cl8r1qrpgi1d0w";
|
sha256 = "15cjb9ygnvp2kv85rrb7ncz7yalifyl7wd2hp2cl8r1qrpgi1d0w";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cppo ];
|
nativeBuildInputs = [ cppo findlib ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bigarray-compat
|
bigarray-compat
|
||||||
containers
|
containers
|
||||||
ctypes
|
|
||||||
integers
|
integers
|
||||||
num
|
num
|
||||||
ppxlib
|
ppxlib
|
||||||
re
|
re
|
||||||
findlib
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
ctypes
|
||||||
];
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, fetchurl, buildDunePackage, cppo, ppx_deriving
|
{ lib, fetchurl, buildDunePackage, cppo, ppx_deriving
|
||||||
, ppxlib
|
, ppxlib, dune-configurator
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -13,7 +13,9 @@ buildDunePackage rec {
|
||||||
sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj";
|
sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cppo ppxlib ppx_deriving ];
|
nativeBuildInputs = [ cppo ];
|
||||||
|
buildInputs = [ ppxlib dune-configurator ];
|
||||||
|
propagatedBuildInputs = [ ppx_deriving ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
|
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
, mirage-profile
|
, mirage-profile
|
||||||
, cstruct
|
, cstruct
|
||||||
, ounit
|
, ounit
|
||||||
|
, stdlib-shims
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
|
@ -25,6 +26,7 @@ buildDunePackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
mirage-profile
|
mirage-profile
|
||||||
cstruct
|
cstruct
|
||||||
|
stdlib-shims
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
||||||
|
propagatedBuildInputs = [ camlp4 ];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue