git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.js_of_ocaml-tyxml: init at 3.1.0
commit20c035b9067562ef72bf66cd3b053e9a6d121af0 authorVincent Laporte <Vincent.Laporte@gmail.com> dateWed 11 Apr 2018, 17:54 (9 years ago) parenta5ae3b5
2 files changed+18
pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nix+16 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nixnew file+16
@@ -0,0 +1,16 @@
1+{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
2+, js_of_ocaml-ppx, ocaml-migrate-parsetree, ppx_tools_versioned
3+, js_of_ocaml, reactivedata, tyxml
4+}:
5+
6+stdenv.mkDerivation rec {
7+ name = "js_of_ocaml-tyxml-${version}";
8+
9+ inherit (js_of_ocaml-compiler) version src installPhase meta;
10+
11+ buildInputs = [ ocaml findlib jbuilder js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
12+
13+ propagatedBuildInputs = [ js_of_ocaml reactivedata tyxml ];
14+
15+ buildPhase = "jbuilder build -p js_of_ocaml-tyxml";
16+}
pkgs/top-level/ocaml-packages.nix+2
@@ -334,6 +334,8 @@ let
334334
335335 js_of_ocaml-ppx_deriving_json = callPackage ../development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix {};
336336
337+ js_of_ocaml-tyxml = callPackage ../development/tools/ocaml/js_of_ocaml/tyxml.nix {};
338+
337339 jsonm = callPackage ../development/ocaml-modules/jsonm { };
338340
339341 lablgl = callPackage ../development/ocaml-modules/lablgl { };