nixpkgs-suyu/pkgs/development/ocaml-modules/tezos/stdlib.nix
Ulrik Strid 2db064d028 ocamlPackages.tezos-*: 8.3 -> 10.2
ocamlPackages.lwt-canceler: 0.2 -> 0.3
ocamlPackages.json-data-encoding: 0.8 -> 0.10
ocamlPackages.data-encoding: 0.2.0 -> 0.4.0
ocamlPackages.ff-sig, ff-pbt: init at 0.6.1
ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02: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 ];
};
}