summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tyxml
diff options
context:
space:
mode:
authorFlorent Becker <Florent.Becker@ens-lyon.org>2016-05-30 15:55:30 +0200
committerFlorent Becker <florent.becker@ens-lyon.org>2016-05-31 19:10:06 +0200
commit7e6f5cc561a3d62893a336627b1790860ab15471 (patch)
tree8477d6cc64f4207b24420737eb7e4307b6ef11bb /pkgs/development/ocaml-modules/tyxml
parent51fd238d80d6ba15ea2f32783f815bbb6e37256e (diff)
downloadnixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar.gz
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar.bz2
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar.lz
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar.xz
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.tar.zst
nixlib-7e6f5cc561a3d62893a336627b1790860ab15471.zip
tyxml: 3.4.0 -> 3.6.0
Diffstat (limited to 'pkgs/development/ocaml-modules/tyxml')
-rw-r--r--pkgs/development/ocaml-modules/tyxml/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/tyxml/default.nix b/pkgs/development/ocaml-modules/tyxml/default.nix
index 64c1de13fb35..4f9644ea5be0 100644
--- a/pkgs/development/ocaml-modules/tyxml/default.nix
+++ b/pkgs/development/ocaml-modules/tyxml/default.nix
@@ -1,19 +1,23 @@
-{ stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4, uutf }:
+{ stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4, uutf, markup, ppx_tools, re }:
 
-stdenv.mkDerivation {
-  name = "tyxml-3.4.0";
+stdenv.mkDerivation rec {
+  pname = "tyxml";
+  version = "3.6.0";
+  name = "${pname}-${version}";
 
   src = fetchurl {
-    url = http://github.com/ocsigen/tyxml/archive/3.4.0.tar.gz;
-    sha256 = "10hb0b2j33fjqzmx450ns7dmf4pqmx3gyvr6dk99mghqk13cj5ww";
+    url = "http://github.com/ocsigen/tyxml/archive/${version}.tar.gz";
+    sha256 = "1rz0f48x8p1m30723rn5v85pp7rd0spr04sd7gzryy99vn3ianga";
     };
 
-  buildInputs = [ocaml findlib ocaml_oasis camlp4];
+  buildInputs = [ocaml findlib camlp4];
 
-  propagatedBuildInputs = [uutf];
+  propagatedBuildInputs = [uutf re ppx_tools markup];
 
   createFindlibDestdir = true;
 
+  configureFlags = "--enable-syntax";
+
   meta = with stdenv.lib; {
     homepage = http://ocsigen.org/tyxml/;
     description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";