blob: 6eb814ef7db9d929798dd10b3d4ddb8ecb60ea6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
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 ];
nativeCheckInputs = [
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";
};
}
|