Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
897 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner,}:
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.14") "zipc is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-zipc"; version = "0.2.0";
src = fetchurl { url = "https://erratique.ch/software/zipc/releases/zipc-${version}.tbz"; hash = "sha256-YQqkCURwrJgFH0+zgfket25zJQ4w+Tcc1mTSrDuWRt0="; };
strictDeps = true;
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
buildInputs = [ cmdliner topkg ];
inherit (topkg) buildPhase installPhase;
meta = { description = "ZIP archive and deflate codec for OCaml"; homepage = "https://erratique.ch/software/zipc"; license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; }