mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
0bd1408dfe
Evaluation for OCaml < 4.08 has been broken by
d9f767600f
29 lines
619 B
Nix
29 lines
619 B
Nix
{
|
|
lib, fetchFromGitHub, buildDunePackage
|
|
, zarith_stubs_js ? null
|
|
}:
|
|
|
|
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;
|
|
};
|
|
}
|