ocamlPackages.bin_prot: remove at 112.24.00 & 113.33.03

This commit is contained in:
Vincent Laporte 2021-11-30 10:21:30 +01:00 committed by Vincent Laporte
parent 4e11a1fa0c
commit ec71290dc2
3 changed files with 0 additions and 54 deletions

View file

@ -1,28 +0,0 @@
{ lib, buildOcaml, fetchurl, ocaml, type_conv }:
if lib.versionAtLeast ocaml.version "4.06"
then throw "bin_prot-112.24.00 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
pname = "bin_prot";
version = "112.24.00";
minimumSupportedOcamlVersion = "4.00";
src = fetchurl {
url = "https://github.com/janestreet/bin_prot/archive/${version}.tar.gz";
sha256 = "dc0c978a825c7c123990af3317637c218f61079e6f35dc878260651084f1adb4";
};
propagatedBuildInputs = [ type_conv ];
hasSharedObjects = true;
meta = with lib; {
homepage = "https://github.com/janestreet/bin_prot";
description = "Binary protocol generator ";
license = licenses.asl20;
maintainers = [ maintainers.ericbmerritt ];
};
}

View file

@ -1,17 +0,0 @@
{lib, buildOcamlJane, type_conv}:
buildOcamlJane {
pname = "bin_prot";
version = "113.33.03";
minimumSupportedOcamlVersion = "4.02";
hash = "0jlarpfby755j0kikz6vnl1l6q0ga09b9zrlw6i84r22zchnqdsh";
propagatedBuildInputs = [ type_conv ];
meta = with lib; {
homepage = "https://github.com/janestreet/bin_prot";
description = "Binary protocol generator ";
license = licenses.asl20;
maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
};
}

View file

@ -135,8 +135,6 @@ let
then callPackage ../development/ocaml-modules/biniou { }
else callPackage ../development/ocaml-modules/biniou/1.0.nix { };
bin_prot_p4 = callPackage ../development/ocaml-modules/bin_prot { };
bisect_ppx = callPackage ../development/ocaml-modules/bisect_ppx { };
ocaml_cairo = callPackage ../development/ocaml-modules/ocaml-cairo { };
@ -1612,13 +1610,6 @@ let
then callPackage ../development/ocaml-modules/janestreet/variantslib.nix {}
else variantslib_p4;
bin_prot =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.bin_prot
else if lib.versionOlder "4.02" ocaml.version
then callPackage ../development/ocaml-modules/janestreet/bin_prot.nix {}
else bin_prot_p4;
core_bench =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.core_bench else