mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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}";
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user