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