depot/pkgs/development/ocaml-modules/tyxml/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

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
];
};
}