824043e09c
ocamlPackages.uucp: 13.0.0 → 14.0.0
29 lines
802 B
Nix
29 lines
802 B
Nix
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, xmlm, topkg }:
|
|
|
|
let
|
|
pname = "uucd";
|
|
webpage = "https://erratique.ch/software/${pname}";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "ocaml-${pname}-${version}";
|
|
version = "14.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "${webpage}/releases/${pname}-${version}.tbz";
|
|
sha256 = "sha256:0fc737v5gj3339jx4x9xr096lxrpwvp6vaiylhavcvsglcwbgm30";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
propagatedBuildInputs = [ xmlm ];
|
|
|
|
meta = with lib; {
|
|
description = "An OCaml module to decode the data of the Unicode character database from its XML representation";
|
|
homepage = webpage;
|
|
inherit (ocaml.meta) platforms;
|
|
maintainers = [ maintainers.vbgl ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|