nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 898 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ocaml, 6 findlib, 7 ocamlbuild, 8 xmlm, 9 topkg, 10}: 11 12let 13 pname = "uucd"; 14 webpage = "https://erratique.ch/software/${pname}"; 15 version = "17.0.0"; 16in 17stdenv.mkDerivation { 18 pname = "ocaml${ocaml.version}-${pname}"; 19 inherit version; 20 21 src = fetchurl { 22 url = "${webpage}/releases/${pname}-${version}.tbz"; 23 hash = "sha256-ifjEBUN+Lqw4W9FeoGX4XBjnxcJL15ukd+aSSDS8KC0="; 24 }; 25 26 nativeBuildInputs = [ 27 ocaml 28 findlib 29 ocamlbuild 30 topkg 31 ]; 32 buildInputs = [ topkg ]; 33 34 strictDeps = true; 35 36 inherit (topkg) buildPhase installPhase; 37 38 propagatedBuildInputs = [ xmlm ]; 39 40 meta = { 41 description = "OCaml module to decode the data of the Unicode character database from its XML representation"; 42 homepage = webpage; 43 inherit (ocaml.meta) platforms; 44 maintainers = [ lib.maintainers.vbgl ]; 45 license = lib.licenses.bsd3; 46 }; 47}