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
847 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 = "15.1.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
hash = "sha256-HIANZ5SDJcytlpw/W9Ae2eFTutrutJj2PgJCfByobfI=";
};
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;
};
}