lol
1{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, xmlm, topkg }:
2
3let
4 pname = "uucd";
5 webpage = "https://erratique.ch/software/${pname}";
6in
7stdenv.mkDerivation rec {
8 name = "ocaml-${pname}-${version}";
9 version = "15.0.0";
10
11 src = fetchurl {
12 url = "${webpage}/releases/${pname}-${version}.tbz";
13 sha256 = "sha256-DksDi6Dfe/fNGBmeubwxv9dScTHPJRuaPrlX7M8QRrw=";
14 };
15
16 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
17 buildInputs = [ topkg ];
18
19 strictDeps = true;
20
21 inherit (topkg) buildPhase installPhase;
22
23 propagatedBuildInputs = [ xmlm ];
24
25 meta = with lib; {
26 description = "An OCaml module to decode the data of the Unicode character database from its XML representation";
27 homepage = webpage;
28 inherit (ocaml.meta) platforms;
29 maintainers = [ maintainers.vbgl ];
30 license = licenses.bsd3;
31 };
32}