depot/pkgs/development/ocaml-modules/uucd/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
844 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 = "16.0.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
hash = "sha256-VVGPG6ZjchUqo8xMCJRahqCCF5WheDBpK1stuts+orM=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
buildInputs = [ topkg ];
strictDeps = true;
inherit (topkg) buildPhase installPhase;
propagatedBuildInputs = [ xmlm ];
meta = with lib; {
description = "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;
};
}