Commit 11e329ae authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.ocsigen_deriving: remove at 0.8.2

parent 6b5081d1
Loading
Loading
Loading
Loading
+0 −46
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, ocaml
, findlib
, ocamlbuild
, oasis
, camlp4
, num
}:

if lib.versionOlder ocaml.version "4.03"
then throw "ocsigen-deriving is not available of OCaml ${ocaml.version}"
else

stdenv.mkDerivation rec {
  pname = "ocaml${ocaml.version}-ocsigen-deriving";
  version = "0.8.2";

  src = fetchFromGitHub {
    owner = "ocsigen";
    repo = "deriving";
    rev = version;
    sha256 = "sha256:09rp9mrr551na0nmclpxddlrkb6l2d7763xv14xfx467kff3z0wf";
  };

  createFindlibDestdir = true;

  nativeBuildInputs = [ ocaml findlib ocamlbuild oasis camlp4 ];
  buildInputs = [ oasis camlp4 ocamlbuild num ];

  strictDeps = true;

  meta = {
    homepage = "https://github.com/ocsigen/deriving";
    description = "Extension to OCaml for deriving functions from type declarations";
    license = lib.licenses.mit;
    inherit (ocaml.meta) platforms;
    maintainers = with lib.maintainers; [
      gal_bolle
      vbgl
    ];
  };


}
+0 −4
Original line number Diff line number Diff line
@@ -1555,10 +1555,6 @@ let

    zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };

    ocsigen_deriving = callPackage ../development/ocaml-modules/ocsigen-deriving {
      oasis = ocaml_oasis;
    };

    # Jane Street

    janePackage =