nixpkgs/pkgs/development/ocaml-modules/ctypes_stubs_js/default.nix
2022-09-10 14:11:51 +02:00

37 lines
790 B
Nix

{
lib, fetchFromGitLab, buildDunePackage
, integers_stubs_js, ctypes, ppx_expect
, js_of_ocaml-compiler
, nodejs
}:
buildDunePackage rec {
pname = "ctypes_stubs_js";
version = "0.1";
minimalOCamlVersion = "4.08";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = pname;
rev = version;
sha256 = "sha256-OJIzg2hnwkXkQHd4bRR051eLf4HNWa/XExxbj46SyUs=";
};
propagatedBuildInputs = [ integers_stubs_js ];
checkInputs = [
ctypes
js_of_ocaml-compiler
ppx_expect
nodejs
];
doCheck = true;
meta = {
description = "Js_of_ocaml Javascript stubs for the OCaml ctypes library";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bezmuth ];
homepage = "https://gitlab.com/nomadic-labs/ctypes_stubs_js";
};
}