blob: edb31f1836bf6c242c9695ada9eb59f58e96c046 (
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
37
38
|
{
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 = [
nodejs
js_of_ocaml-compiler
];
checkInputs = [
ctypes
ppx_expect
];
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";
};
}
|