mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
a13cdfe520
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
43 lines
807 B
Nix
43 lines
807 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, tezos-stdlib
|
|
, tezos-context
|
|
, tezos-lmdb
|
|
, tezos-validation
|
|
, tezos-shell-services
|
|
, tezos-protocol-compiler
|
|
, lwt-watcher
|
|
, alcotest-lwt
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "tezos-legacy-store";
|
|
inherit (tezos-stdlib) version useDune2;
|
|
src = "${tezos-stdlib.base_src}/src/lib_store/legacy_store";
|
|
|
|
propagatedBuildInputs = [
|
|
tezos-context
|
|
tezos-lmdb
|
|
tezos-validation
|
|
tezos-shell-services
|
|
lwt-watcher
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|