depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tezos/stdlib.nix
Default email 6064764516 Project import generated by Copybara.
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
2021-10-14 08:43:12 +08:00

64 lines
1 KiB
Nix

{ lib
, fetchFromGitLab
, buildDunePackage
, hex
, lwt
, zarith
, alcotest
, alcotest-lwt
, crowbar
, bigstring
, lwt_log
, ppx_inline_test
, qcheck-alcotest
, tezos-test-helpers
}:
buildDunePackage rec {
pname = "tezos-stdlib";
version = "10.2";
base_src = fetchFromGitLab {
owner = "tezos";
repo = "tezos";
rev = "v${version}";
sha256 = "1sqwbdclsvzz0781r0830ncy1j048h12jp3hsdy7hz4dpqp80jsq";
};
src = "${base_src}/src/lib_stdlib";
minimalOCamlVersion = "4.10.0";
useDune2 = true;
preBuild = ''
rm -rf vendors
'';
propagatedBuildInputs = [
hex
lwt
zarith
ppx_inline_test
];
checkInputs = [
bigstring
lwt_log
alcotest
alcotest-lwt
crowbar
bigstring
lwt_log
qcheck-alcotest
# tezos-test-helpers
];
# circular dependency if we add this
doCheck = false;
meta = {
description = "Tezos: yet-another local-extension of the OCaml standard library";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}