ocamlPackages.integers_stubs_js: init at 1.0

This commit is contained in:
bezmuth 2022-08-03 16:04:48 +01:00 committed by Vincent Laporte
parent 38417e0e29
commit e6abed6cae
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{
lib, fetchFromGitHub, buildDunePackage
, zarith_stubs_js
}:
buildDunePackage rec {
pname = "integers_stubs_js";
version = "1.0";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "o1-labs";
repo = pname;
rev = version;
sha256 = "sha256-lg5cX9/LQlVmR42XcI17b6KaatnFO2L9A9ZXfID8mTY=";
};
propagatedBuildInputs = [ zarith_stubs_js ];
doCheck = true;
meta = {
description = "Javascript stubs for the integers library in js_of_ocaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bezmuth ];
inherit (src.meta) homepage;
};
}

View File

@ -533,6 +533,8 @@ let
integers = callPackage ../development/ocaml-modules/integers { };
integers_stubs_js = callPackage ../development/ocaml-modules/integers_stubs_js { };
io-page = callPackage ../development/ocaml-modules/io-page { };
ipaddr = callPackage ../development/ocaml-modules/ipaddr { };