Files
nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
669 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 = {
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 = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [
gal_bolle
vbgl
];
};
}