ocamlPackages.xmlm: 1.3.0 -> 1.4.0

This commit is contained in:
superherointj 2022-07-04 14:53:52 -03:00 committed by Vincent Laporte
parent 2039758aae
commit 78d0a0688c

View file

@ -4,17 +4,17 @@ let
webpage = "https://erratique.ch/software/${pname}";
in
if lib.versionOlder ocaml.version "4.02"
if lib.versionOlder ocaml.version "4.05"
then throw "xmlm is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-${pname}-${version}";
version = "1.3.0";
version = "1.4.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "1rrdxg5kh9zaqmgapy9bhdqyxbbvxxib3bdfg1vhw4rrkp1z0x8n";
sha256 = "sha256-CRJSJY490WMgw85N2yG81X79nIwuv7eZ7mpUPtSS2fo=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "An OCaml streaming codec to decode and encode the XML data format";
homepage = webpage;
license = licenses.bsd3;
license = licenses.isc;
maintainers = [ maintainers.vbgl ];
mainProgram = "xmltrip";
inherit (ocaml.meta) platforms;