1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/tyxml/default.nix
2021-02-13 10:16:35 +01:00

26 lines
671 B
Nix

{ lib, buildDunePackage, fetchurl, re, uutf }:
buildDunePackage rec {
pname = "tyxml";
version = "4.4.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
sha256 = "0c150h2f4c4id73ickkdqkir3jya66m6c7f5jxlp4caw9bfr8qsi";
};
propagatedBuildInputs = [ uutf re ];
meta = with lib; {
homepage = "http://ocsigen.org/tyxml/";
description = "A 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
];
};
}