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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
857 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}";
version = "14.0.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "sha256:0fc737v5gj3339jx4x9xr096lxrpwvp6vaiylhavcvsglcwbgm30";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
buildInputs = [ topkg ];
strictDeps = true;
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;
inherit (ocaml.meta) platforms;
maintainers = [ maintainers.vbgl ];
license = licenses.bsd3;
};
}