ocamlPackages.xmlm: 1.3.0 -> 1.4.0
This commit is contained in:
parent
2039758aae
commit
78d0a0688c
|
@ -4,17 +4,17 @@ let
|
||||||
webpage = "https://erratique.ch/software/${pname}";
|
webpage = "https://erratique.ch/software/${pname}";
|
||||||
in
|
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}"
|
then throw "xmlm is not available for OCaml ${ocaml.version}"
|
||||||
else
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${webpage}/releases/${pname}-${version}.tbz";
|
url = "${webpage}/releases/${pname}-${version}.tbz";
|
||||||
sha256 = "1rrdxg5kh9zaqmgapy9bhdqyxbbvxxib3bdfg1vhw4rrkp1z0x8n";
|
sha256 = "sha256-CRJSJY490WMgw85N2yG81X79nIwuv7eZ7mpUPtSS2fo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An OCaml streaming codec to decode and encode the XML data format";
|
description = "An OCaml streaming codec to decode and encode the XML data format";
|
||||||
homepage = webpage;
|
homepage = webpage;
|
||||||
license = licenses.bsd3;
|
license = licenses.isc;
|
||||||
maintainers = [ maintainers.vbgl ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
mainProgram = "xmltrip";
|
mainProgram = "xmltrip";
|
||||||
inherit (ocaml.meta) platforms;
|
inherit (ocaml.meta) platforms;
|
||||||
|
|
Loading…
Reference in a new issue