fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchurl
2, ocaml, findlib, ocamlbuild, topkg, cmdliner
3}:
4
5lib.throwIfNot (lib.versionAtLeast ocaml.version "4.14")
6 "zipc is not available for OCaml ${ocaml.version}"
7
8stdenv.mkDerivation rec {
9 pname = "ocaml${ocaml.version}-zipc";
10 version = "0.2.0";
11
12 src = fetchurl {
13 url = "https://erratique.ch/software/zipc/releases/zipc-${version}.tbz";
14 hash = "sha256-YQqkCURwrJgFH0+zgfket25zJQ4w+Tcc1mTSrDuWRt0=";
15 };
16
17 strictDeps = true;
18
19 nativeBuildInputs = [
20 ocaml findlib ocamlbuild
21 ];
22
23 buildInputs = [ cmdliner topkg ];
24
25 inherit (topkg) buildPhase installPhase;
26
27 meta = {
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 ];
32 };
33}