My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix

27 lines
561 B

{ lib, fetchFromGitHub, buildDunePackage
, cmdliner, cppo, yojson
}:
buildDunePackage rec {
pname = "js_of_ocaml-compiler";
version = "3.4.0";
src = fetchFromGitHub {
owner = "ocsigen";
repo = "js_of_ocaml";
rev = version;
sha256 = "0c537say0f3197zn8d83nrihabrxyn28xc6d7c9c3l0vvrv6qvfj";
};
buildInputs = [ cmdliner cppo ];
propagatedBuildInputs = [ yojson ];
meta = {
description = "Compiler from OCaml bytecode to Javascript";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}