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