mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ocamlPackages.ppx_sexp_conv: init at 113.33.01+4.03
This commit is contained in:
parent
7ca9e6776d
commit
a9b0c95ad4
2 changed files with 25 additions and 1 deletions
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, sexplib, ppx_deriving, ppx_tools, ppx_type_conv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ppx_sexp_conv-133.33.01+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_sexp_conv-113.33.01+4.03.tar.gz;
|
||||
sha256 = "176pydk5fs8m2md9v8v5b16gra90s4v0ssqq38ghfsbv1faca8d6";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_tools ];
|
||||
propagatedBuildInputs = [ sexplib ppx_deriving ppx_type_conv ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
|
@ -576,7 +576,10 @@ let
|
|||
|
||||
ppx_here = callPackage ../development/ocaml-modules/janestreet/ppx-here.nix {};
|
||||
|
||||
ppx_sexp_conv = callPackage ../development/ocaml-modules/janestreet/ppx-sexp-conv.nix {};
|
||||
ppx_sexp_conv =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_sexp_conv-113_33_01.nix { }
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-conv.nix {};
|
||||
|
||||
ppx_assert = callPackage ../development/ocaml-modules/janestreet/ppx-assert.nix {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue