1 { lib, stdenv, fetchurl
2 , ocaml, findlib, ocamlbuild, topkg, cmdliner
5 lib.throwIfNot (lib.versionAtLeast ocaml.version "4.14")
6 "zipc is not available for OCaml ${ocaml.version}"
8 stdenv.mkDerivation rec {
9 pname = "ocaml${ocaml.version}-zipc";
13 url = "https://erratique.ch/software/zipc/releases/zipc-${version}.tbz";
14 hash = "sha256-YQqkCURwrJgFH0+zgfket25zJQ4w+Tcc1mTSrDuWRt0=";
20 ocaml findlib ocamlbuild
23 buildInputs = [ cmdliner topkg ];
25 inherit (topkg) buildPhase installPhase;
28 description = "ZIP archive and deflate codec for OCaml";
29 homepage = "https://erratique.ch/software/zipc";
30 license = lib.licenses.isc;
31 maintainers = [ lib.maintainers.vbgl ];