nixpkgs/pkgs/development/ocaml-modules/tezos/store.nix
Ulrik Strid a13cdfe520 ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild.
This makes some closures significantly smaller and makes cross compilation easier
2022-02-24 14:39:27 +01:00

51 lines
887 B
Nix

{ lib
, buildDunePackage
, tezos-stdlib
, tezos-protocol-updater
, tezos-validation
, tezos-legacy-store
, tezos-protocol-compiler
, index
, camlzip
, tar-unix
, ringo-lwt
, digestif
, alcotest-lwt
, lwt-watcher
}:
buildDunePackage {
pname = "tezos-store";
inherit (tezos-stdlib) version useDune2;
src = "${tezos-stdlib.base_src}/src/lib_store";
propagatedBuildInputs = [
index
camlzip
tar-unix
ringo-lwt
digestif
lwt-watcher
tezos-protocol-updater
tezos-validation
tezos-legacy-store
];
nativeBuildInputs = [
tezos-protocol-compiler
];
strictDeps = true;
checkInputs = [
alcotest-lwt
];
# A lot of extra deps with wide dependency cones needed
doCheck = false;
meta = tezos-stdlib.meta // {
description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing";
};
}