2021-01-11 07:54:33 +00:00
|
|
|
{ lib, 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}";
|
2021-09-28 21:00:31 +01:00
|
|
|
version = "14.0.0";
|
2014-07-09 08:42:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${webpage}/releases/${pname}-${version}.tbz";
|
2021-09-28 21:00:31 +01:00
|
|
|
sha256 = "sha256:0fc737v5gj3339jx4x9xr096lxrpwvp6vaiylhavcvsglcwbgm30";
|
2014-07-09 08:42:26 +01:00
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
|
|
|
buildInputs = [ topkg ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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;
|
2021-09-28 21:00:31 +01:00
|
|
|
inherit (ocaml.meta) platforms;
|
2014-09-21 11:02:55 +01:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
license = licenses.bsd3;
|
2014-07-09 08:42:26 +01:00
|
|
|
};
|
|
|
|
}
|