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