diff options
author | Florent Becker <florent.becker@ens-lyon.org> | 2014-06-08 12:12:27 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-09-06 12:44:33 +0400 |
commit | da6859722d943a1cd964df4d6490cccfe8f5c31c (patch) | |
tree | 44a175eacb98128e138ccbd0a75bc7ecae9a4898 /pkgs/development/ocaml-modules/tyxml | |
parent | 02a4e404745d40854baf322b84fffa501465f5f4 (diff) | |
download | nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar.gz nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar.bz2 nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar.lz nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar.xz nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.tar.zst nixpkgs-da6859722d943a1cd964df4d6490cccfe8f5c31c.zip |
Add tyxml (XML library for ocaml)
Diffstat (limited to 'pkgs/development/ocaml-modules/tyxml')
-rw-r--r-- | pkgs/development/ocaml-modules/tyxml/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/tyxml/default.nix b/pkgs/development/ocaml-modules/tyxml/default.nix new file mode 100644 index 00000000000..39cee4e32ce --- /dev/null +++ b/pkgs/development/ocaml-modules/tyxml/default.nix @@ -0,0 +1,30 @@ +{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/; + description = "Tyxml is a library that makes it almost impossible for your OCaml programs to generate wrong XML ouput, using static typing."; + license = "LGPL"; + platforms = ocaml.meta.platforms; + maintainers = [ + stdenv.lib.maintainers.gal_bolle + ]; + }; + +} \ No newline at end of file |