2017-12-13 23:36:29 -08:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, xmlm, topkg }:
|
2016-10-05 00:32:30 -07:00
|
|
|
|
2014-07-09 00:42:26 -07:00
|
|
|
let
|
|
|
|
pname = "uucd";
|
2019-04-22 01:14:28 -07:00
|
|
|
webpage = "https://erratique.ch/software/${pname}";
|
2014-07-09 00:42:26 -07:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ocaml-${pname}-${version}";
|
2020-08-10 22:13:56 -07:00
|
|
|
version = "13.0.0";
|
2014-07-09 00:42:26 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${webpage}/releases/${pname}-${version}.tbz";
|
2020-08-10 22:13:56 -07:00
|
|
|
sha256 = "1fg77hg4ibidkv1x8hhzl8z3rzmyymn8m4i35jrdibb8adigi8v2";
|
2014-07-09 00:42:26 -07:00
|
|
|
};
|
|
|
|
|
2017-12-13 23:36:29 -08:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
2014-07-09 00:42:26 -07:00
|
|
|
|
2016-11-22 19:20:51 -08:00
|
|
|
inherit (topkg) buildPhase installPhase;
|
2014-07-09 00:42:26 -07:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ xmlm ];
|
|
|
|
|
2014-09-21 03:02:55 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-07-09 00:42:26 -07:00
|
|
|
description = "An OCaml module to decode the data of the Unicode character database from its XML representation";
|
2019-09-08 16:38:31 -07:00
|
|
|
homepage = webpage;
|
2015-12-24 09:49:07 -08:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-09-21 03:02:55 -07:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
license = licenses.bsd3;
|
2014-07-09 00:42:26 -07:00
|
|
|
};
|
|
|
|
}
|