nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix

26 lines
701 B
Nix
Raw Normal View History

2014-09-29 21:25:31 -07:00
{stdenv, fetchurl, ocaml, findlib, ocaml_oasis, camlp4}:
2014-06-08 03:12:27 -07:00
stdenv.mkDerivation {
2014-09-29 21:25:31 -07:00
name = "tyxml-3.1.1";
2014-06-08 03:12:27 -07:00
src = fetchurl {
2014-09-29 21:25:31 -07:00
url = http://github.com/ocsigen/tyxml/archive/3.1.1.tar.gz;
sha256 = "1r8im382r68kn8qy0857nv3y7h42i6ajyclxzmigfai7v2xdd05z";
2014-06-08 03:12:27 -07:00
};
2014-09-29 21:25:31 -07:00
buildInputs = [ocaml findlib ocaml_oasis camlp4];
2014-06-08 03:12:27 -07:00
createFindlibDestdir = true;
2014-09-29 21:25:31 -07:00
meta = with stdenv.lib; {
2014-06-08 03:12:27 -07:00
homepage = http://ocsigen.org/tyxml/;
2014-09-06 01:44:20 -07:00
description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML ouput, using static typing";
2014-09-29 21:25:31 -07:00
license = licenses.lgpl21;
2014-06-08 03:12:27 -07:00
platforms = ocaml.meta.platforms;
2014-09-29 21:25:31 -07:00
maintainers = with maintainers; [
gal_bolle vbgl
2014-06-08 03:12:27 -07:00
];
};
2014-09-06 01:44:20 -07:00
}