mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
ocamlPackages.ppx_sexp_value: init at 113.33.00+4.03
This commit is contained in:
parent
03be79a018
commit
3c2c608c2e
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, ppx_here, ppx_sexp_conv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ppx_sexp_value-113.33.00+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_sexp_value-113.33.00+4.03.tar.gz;
|
||||
sha256 = "0pn2v1m479lbdgprv4w9czyv5nim0hz6ailmy1xxlxlhazwbqzwm";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ];
|
||||
propagatedBuildInputs = [ ppx_sexp_conv ppx_here ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -630,7 +630,10 @@ let
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_sexp_message-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-message.nix {};
|
||||
|
||||
ppx_sexp_value = callPackage ../development/ocaml-modules/janestreet/ppx-sexp-value.nix {};
|
||||
ppx_sexp_value =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_sexp_value-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-sexp-value.nix {};
|
||||
|
||||
ppx_typerep_conv = callPackage ../development/ocaml-modules/janestreet/ppx-typerep-conv.nix {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user