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}";
|
2017-06-29 18:22:32 +01:00
|
|
|
version = "10.0.0";
|
2014-07-09 08:42:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${webpage}/releases/${pname}-${version}.tbz";
|
2017-06-29 18:22:32 +01:00
|
|
|
sha256 = "0cdyg6vaic4n58w80qriwvaq1c40ng3fh74ilxrwajbq163k055q";
|
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
|
|
|
};
|
|
|
|
}
|