1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix

31 lines
747 B
Nix
Raw Normal View History

2014-06-08 11:12:27 +01:00
{stdenv, fetchurl, ocaml, findlib, ocaml_oasis}:
stdenv.mkDerivation {
name = "tyxml-3.0.0";
src = fetchurl {
url = http://ocsigen.org/download/tyxml-3.0.0.tar.gz;
sha256 = "0cvbmyg4g0lg4f23032cjlxqklisccbjgj47117wm6gva8xi7xa3";
};
buildInputs = [ocaml findlib ocaml_oasis];
createFindlibDestdir = true;
configurePhase = ''
make setup-dev.exe
./setup-dev.exe -configure --prefix $out
'';
meta = {
homepage = http://ocsigen.org/tyxml/;
2014-09-06 09:44:20 +01:00
description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML ouput, using static typing";
2014-06-08 11:12:27 +01:00
license = "LGPL";
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
2014-09-06 09:44:20 +01:00
}