tyxml: 3.4.0 -> 3.6.0
This commit is contained in:
parent
51fd238d80
commit
7e6f5cc561
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "tyxml-3.4.0";
|
pname = "tyxml";
|
||||||
|
version = "3.6.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://github.com/ocsigen/tyxml/archive/3.4.0.tar.gz;
|
url = "http://github.com/ocsigen/tyxml/archive/${version}.tar.gz";
|
||||||
sha256 = "10hb0b2j33fjqzmx450ns7dmf4pqmx3gyvr6dk99mghqk13cj5ww";
|
sha256 = "1rz0f48x8p1m30723rn5v85pp7rd0spr04sd7gzryy99vn3ianga";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ocaml findlib ocaml_oasis camlp4];
|
buildInputs = [ocaml findlib camlp4];
|
||||||
|
|
||||||
propagatedBuildInputs = [uutf];
|
propagatedBuildInputs = [uutf re ppx_tools markup];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
configureFlags = "--enable-syntax";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://ocsigen.org/tyxml/;
|
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";
|
description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
|
||||||
|
Loading…
Reference in New Issue
Block a user