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