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