ocamlPackages.ctypes_stubs_js: init at 0.1
This commit is contained in:
parent
e6abed6cae
commit
725fe60de0
2 changed files with 40 additions and 0 deletions
36
pkgs/development/ocaml-modules/ctypes_stubs_js/default.nix
Normal file
36
pkgs/development/ocaml-modules/ctypes_stubs_js/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
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";
|
||||
};
|
||||
}
|
|
@ -274,6 +274,10 @@ let
|
|||
|
||||
ctypes = callPackage ../development/ocaml-modules/ctypes { };
|
||||
|
||||
ctypes_stubs_js = callPackage ../development/ocaml-modules/ctypes_stubs_js {
|
||||
inherit (pkgs) nodejs;
|
||||
};
|
||||
|
||||
dap = callPackage ../development/ocaml-modules/dap { };
|
||||
|
||||
data-encoding = callPackage ../development/ocaml-modules/data-encoding { };
|
||||
|
|
Loading…
Reference in a new issue