about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-09-30 06:25:31 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-09-30 06:25:31 +0200
commit7adab7e25efc5fdce639e93543db98c2d07532dc (patch)
tree06b6fe9e58a01debbab4a5aa5c7490fcd7643a52 /pkgs/development/ocaml-modules
parente9304fe03977347e20e0dc2bb7669906f4ede9a7 (diff)
downloadnixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar.gz
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar.bz2
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar.lz
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar.xz
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.tar.zst
nixlib-7adab7e25efc5fdce639e93543db98c2d07532dc.zip
ocaml-tyxml: update 3.0.0 -> 3.1.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/tyxml/default.nix23
1 files changed, 9 insertions, 14 deletions
diff --git a/pkgs/development/ocaml-modules/tyxml/default.nix b/pkgs/development/ocaml-modules/tyxml/default.nix
index 02ac7f381e51..648f0a9cd170 100644
--- a/pkgs/development/ocaml-modules/tyxml/default.nix
+++ b/pkgs/development/ocaml-modules/tyxml/default.nix
@@ -1,29 +1,24 @@
-{stdenv, fetchurl, ocaml, findlib, ocaml_oasis}:
+{stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4}:
 
 stdenv.mkDerivation {
-  name = "tyxml-3.0.0";
+  name = "tyxml-3.1.1";
 
   src = fetchurl {
-    url = http://ocsigen.org/download/tyxml-3.0.0.tar.gz;
-    sha256 = "0cvbmyg4g0lg4f23032cjlxqklisccbjgj47117wm6gva8xi7xa3";
+    url = http://github.com/ocsigen/tyxml/archive/3.1.1.tar.gz;
+    sha256 = "1r8im382r68kn8qy0857nv3y7h42i6ajyclxzmigfai7v2xdd05z";
     };
 
-  buildInputs = [ocaml findlib ocaml_oasis];
+  buildInputs = [ocaml findlib ocaml_oasis camlp4];
 
   createFindlibDestdir = true;
 
-  configurePhase = ''
-  make setup-dev.exe
-  ./setup-dev.exe -configure --prefix $out
-  '';
-
-  meta = {
+  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 ouput, using static typing";
-    license = "LGPL";
+    license = licenses.lgpl21;
     platforms = ocaml.meta.platforms;
-    maintainers = [
-      stdenv.lib.maintainers.gal_bolle
+    maintainers = with maintainers; [
+      gal_bolle vbgl
       ];
   };