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