nixpkgs/pkgs/development/ocaml-modules/uucd/default.nix

30 lines
803 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, xmlm, topkg }:
2016-10-05 07:32:30 +00:00
let
pname = "uucd";
webpage = "https://erratique.ch/software/${pname}";
in
stdenv.mkDerivation rec {
name = "ocaml-${pname}-${version}";
2020-08-11 05:13:56 +00:00
version = "13.0.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
2020-08-11 05:13:56 +00:00
sha256 = "1fg77hg4ibidkv1x8hhzl8z3rzmyymn8m4i35jrdibb8adigi8v2";
};
2017-12-14 07:36:29 +00:00
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";
2019-09-08 23:38:31 +00:00
homepage = webpage;
platforms = ocaml.meta.platforms or [];
maintainers = [ maintainers.vbgl ];
license = licenses.bsd3;
};
}