depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
644 B
Nix

{ lib, buildDunePackage, fetchurl, re, uutf }:
buildDunePackage rec {
pname = "tyxml";
version = "4.6.0";
src = fetchurl {
url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
hash = "sha256-v+tnPGtOEgpOykxIRIrdR9w/jQLCtA9j/9zMTpHJAt0=";
};
propagatedBuildInputs = [ uutf re ];
meta = with lib; {
homepage = "http://ocsigen.org/tyxml/";
description = "Library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
license = licenses.lgpl21;
maintainers = with maintainers; [
gal_bolle vbgl
];
};
}