git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit2406c06ae0b3717c7b95c480900647bda4c42fde authorVincent Laporte <Vincent.Laporte@gmail.com> dateFri 19 Apr 2019, 14:14 (8 years ago) parent61b53f4
4 files changed+23−29
pkgs/development/ocaml-modules/eliom/default.nix+4−4 pkgs/development/ocaml-modules/tyxml/default.nix+7−21 pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix+10−2 pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix+2−2
pkgs/development/ocaml-modules/eliom/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
1+{ stdenv, fetchzip, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
22 lwt_react, cryptokit,
33 ipaddr, ocamlnet, ocaml_pcre,
44 opaline, ppx_tools, ppx_deriving, findlib
@@ -11,12 +11,12 @@
1111stdenv.mkDerivation rec
1212{
1313 pname = "eliom";
14− version = "6.4.0";
14+ version = "6.7.0";
1515 name = "${pname}-${version}";
1616
17− src = fetchurl {
17+ src = fetchzip {
1818 url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
19− sha256 = "1ad7ympvj0cb51d9kbp4naxkld3gv8cfp4a037a5dr55761zdhdh";
19+ sha256 = "0mrlpvjaihpsf2xr6p1gs0sz4cwzkknf5b1s32bhmqq5qzsh4j8k";
2020 };
2121
2222 patches = [ ./camlp4.patch ];
pkgs/development/ocaml-modules/tyxml/default.nix+7−21
@@ -1,34 +1,20 @@
1−{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, markup, ppx_tools_versioned, re
2−, withP4 ? true
3−, camlp4 ? null
4−}:
1+{ lib, buildDunePackage, fetchurl, re, uutf }:
52
6−assert stdenv.lib.versionAtLeast ocaml.version "4.02";
7−
8−stdenv.mkDerivation rec {
3+buildDunePackage rec {
94 pname = "tyxml";
10− version = "4.2.0";
11− name = "ocaml${ocaml.version}-${pname}-${version}";
5+ version = "4.3.0";
126
13− src = fetchzip {
14− url = "https://github.com/ocsigen/tyxml/archive/${version}.tar.gz";
15− sha256 = "1zrkrmxyj5a2cdh4b9zr9anwfk320wv3x0ynxnyxl5za2ix8sld8";
7+ src = fetchurl {
8+ url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
9+ sha256 = "1hxzppfvsdls2y8qiwvz31hmffzh2hgglf01am1vzf2f31mxf6vf";
1610 };
1711
18− buildInputs = [ ocaml findlib ocamlbuild ppx_tools_versioned markup ]
19− ++ stdenv.lib.optional withP4 camlp4;
20−
2112 propagatedBuildInputs = [ uutf re ];
2213
23− createFindlibDestdir = true;
24−
25− configureFlags = stdenv.lib.optional withP4 "--enable-syntax";
26−
27− meta = with stdenv.lib; {
14+ meta = with lib; {
2815 homepage = http://ocsigen.org/tyxml/;
2916 description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
3017 license = licenses.lgpl21;
31− platforms = ocaml.meta.platforms or [];
3218 maintainers = with maintainers; [
3319 gal_bolle vbgl
3420 ];
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix+10−2
@@ -1,11 +1,19 @@
1−{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
1+{ stdenv, fetchFromGitHub, ocaml, findlib, dune, js_of_ocaml-compiler
22, camlp4, ocsigen_deriving
33}:
44
55stdenv.mkDerivation rec {
6+ version = "3.2.1";
67 name = "js_of_ocaml-camlp4-${version}";
78
8− inherit (js_of_ocaml-compiler) version src installPhase meta;
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;
917
1018 buildInputs = [ ocaml findlib dune camlp4 ocsigen_deriving ];
1119
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix+2−2
@@ -8,13 +8,13 @@ else
88
99stdenv.mkDerivation rec {
1010 name = "js_of_ocaml-compiler-${version}";
11− version = "3.2.1";
11+ version = "3.3.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "ocsigen";
1515 repo = "js_of_ocaml";
1616 rev = version;
17− sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
17+ sha256 = "0bg8x2s3f24c8ia2g293ikd5yg0yjw3hkdgdql59c8k2amqin8f8";
1818 };
1919
2020 buildInputs = [ ocaml findlib dune cmdliner cppo ];