ocamlPackages.tyxml: 4.2.0 -> 4.3.0

ocamlPackages.eliom: 6.4.0 -> 6.7.0
ocamlPackages.js_of_ocaml: 3.2.1 -> 3.3.0

authored by Vincent Laporte and committed by Vincent Laporte 2406c06a 61b53f40

+23 -29
+4 -4
pkgs/development/ocaml-modules/eliom/default.nix
··· 1 - { stdenv, fetchurl, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4, 2 lwt_react, cryptokit, 3 ipaddr, ocamlnet, ocaml_pcre, 4 opaline, ppx_tools, ppx_deriving, findlib ··· 11 stdenv.mkDerivation rec 12 { 13 pname = "eliom"; 14 - version = "6.4.0"; 15 name = "${pname}-${version}"; 16 17 - src = fetchurl { 18 url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz"; 19 - sha256 = "1ad7ympvj0cb51d9kbp4naxkld3gv8cfp4a037a5dr55761zdhdh"; 20 }; 21 22 patches = [ ./camlp4.patch ];
··· 1 + { stdenv, fetchzip, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4, 2 lwt_react, cryptokit, 3 ipaddr, ocamlnet, ocaml_pcre, 4 opaline, ppx_tools, ppx_deriving, findlib ··· 11 stdenv.mkDerivation rec 12 { 13 pname = "eliom"; 14 + version = "6.7.0"; 15 name = "${pname}-${version}"; 16 17 + src = fetchzip { 18 url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz"; 19 + sha256 = "0mrlpvjaihpsf2xr6p1gs0sz4cwzkknf5b1s32bhmqq5qzsh4j8k"; 20 }; 21 22 patches = [ ./camlp4.patch ];
+7 -21
pkgs/development/ocaml-modules/tyxml/default.nix
··· 1 - { stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, markup, ppx_tools_versioned, re 2 - , withP4 ? true 3 - , camlp4 ? null 4 - }: 5 - 6 - assert stdenv.lib.versionAtLeast ocaml.version "4.02"; 7 8 - stdenv.mkDerivation rec { 9 pname = "tyxml"; 10 - version = "4.2.0"; 11 - name = "ocaml${ocaml.version}-${pname}-${version}"; 12 13 - src = fetchzip { 14 - url = "https://github.com/ocsigen/tyxml/archive/${version}.tar.gz"; 15 - sha256 = "1zrkrmxyj5a2cdh4b9zr9anwfk320wv3x0ynxnyxl5za2ix8sld8"; 16 }; 17 - 18 - buildInputs = [ ocaml findlib ocamlbuild ppx_tools_versioned markup ] 19 - ++ stdenv.lib.optional withP4 camlp4; 20 21 propagatedBuildInputs = [ uutf re ]; 22 23 - createFindlibDestdir = true; 24 - 25 - configureFlags = stdenv.lib.optional withP4 "--enable-syntax"; 26 - 27 - meta = with stdenv.lib; { 28 homepage = http://ocsigen.org/tyxml/; 29 description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing"; 30 license = licenses.lgpl21; 31 - platforms = ocaml.meta.platforms or []; 32 maintainers = with maintainers; [ 33 gal_bolle vbgl 34 ];
··· 1 + { lib, buildDunePackage, fetchurl, re, uutf }: 2 3 + buildDunePackage rec { 4 pname = "tyxml"; 5 + version = "4.3.0"; 6 7 + src = fetchurl { 8 + url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz"; 9 + sha256 = "1hxzppfvsdls2y8qiwvz31hmffzh2hgglf01am1vzf2f31mxf6vf"; 10 }; 11 12 propagatedBuildInputs = [ uutf re ]; 13 14 + meta = with lib; { 15 homepage = http://ocsigen.org/tyxml/; 16 description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing"; 17 license = licenses.lgpl21; 18 maintainers = with maintainers; [ 19 gal_bolle vbgl 20 ];
+10 -2
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix
··· 1 - { stdenv, ocaml, findlib, dune, js_of_ocaml-compiler 2 , camlp4, ocsigen_deriving 3 }: 4 5 stdenv.mkDerivation rec { 6 name = "js_of_ocaml-camlp4-${version}"; 7 8 - inherit (js_of_ocaml-compiler) version src installPhase meta; 9 10 buildInputs = [ ocaml findlib dune camlp4 ocsigen_deriving ]; 11
··· 1 + { stdenv, fetchFromGitHub, ocaml, findlib, dune, js_of_ocaml-compiler 2 , camlp4, ocsigen_deriving 3 }: 4 5 stdenv.mkDerivation rec { 6 + version = "3.2.1"; 7 name = "js_of_ocaml-camlp4-${version}"; 8 9 + src = fetchFromGitHub { 10 + owner = "ocsigen"; 11 + repo = "js_of_ocaml"; 12 + rev = version; 13 + sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik"; 14 + }; 15 + 16 + inherit (js_of_ocaml-compiler) installPhase meta; 17 18 buildInputs = [ ocaml findlib dune camlp4 ocsigen_deriving ]; 19
+2 -2
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix
··· 8 9 stdenv.mkDerivation rec { 10 name = "js_of_ocaml-compiler-${version}"; 11 - version = "3.2.1"; 12 13 src = fetchFromGitHub { 14 owner = "ocsigen"; 15 repo = "js_of_ocaml"; 16 rev = version; 17 - sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik"; 18 }; 19 20 buildInputs = [ ocaml findlib dune cmdliner cppo ];
··· 8 9 stdenv.mkDerivation rec { 10 name = "js_of_ocaml-compiler-${version}"; 11 + version = "3.3.0"; 12 13 src = fetchFromGitHub { 14 owner = "ocsigen"; 15 repo = "js_of_ocaml"; 16 rev = version; 17 + sha256 = "0bg8x2s3f24c8ia2g293ikd5yg0yjw3hkdgdql59c8k2amqin8f8"; 18 }; 19 20 buildInputs = [ ocaml findlib dune cmdliner cppo ];