Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ stdenv, lib, fetchFromGitHub, ocaml, findlib, opaline, calendar, eliom, js_of_ocaml-ppx_deriving_json,}:
stdenv.mkDerivation rec { pname = "ocsigen-toolkit"; name = "ocaml${ocaml.version}-${pname}-${version}"; version = "4.1.0";
propagatedBuildInputs = [ calendar js_of_ocaml-ppx_deriving_json eliom ]; nativeBuildInputs = [ ocaml findlib opaline eliom ];
strictDeps = true;
installPhase = '' runHook preInstall mkdir -p $OCAMLFIND_DESTDIR export OCAMLPATH=$out/lib/ocaml/${ocaml.version}/site-lib/:$OCAMLPATH make install opaline -prefix $out runHook postInstall '';
src = fetchFromGitHub { owner = "ocsigen"; repo = pname; rev = version; hash = "sha256-1kw2HANajHDdMmjuYNB79ZDqy2Ml02nc5s+cJzIoxQ8="; };
meta = { homepage = "http://ocsigen.org/ocsigen-toolkit/"; description = "User interface widgets for Ocsigen applications"; license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.gal_bolle ]; inherit (ocaml.meta) platforms; };
}