about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/integers_stubs_js/default.nix
blob: fc06efae7e043631a5b32104ae6c06db09b01818 (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
{
  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;
  };
}