ocamlPackages.variantslib: remove at 109.15.03 & 113.33.03
This commit is contained in:
parent
74032d767a
commit
c408cfdf50
@ -1,19 +0,0 @@
|
||||
{lib, buildOcamlJane, type_conv}:
|
||||
|
||||
buildOcamlJane {
|
||||
pname = "variantslib";
|
||||
version = "113.33.03";
|
||||
|
||||
minimumSupportedOcamlVersion = "4.00";
|
||||
|
||||
hash = "1hv0f75msrryxsl6wfnbmhc0n8kf7qxs5f82ry3b8ldb44s3wigp";
|
||||
|
||||
propagatedBuildInputs = [ type_conv ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/janestreet/variantslib";
|
||||
description = "OCaml variants as first class values";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
|
||||
};
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
{ lib, buildOcaml, ocaml, fetchFromGitHub, type_conv }:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "variantslib-109.15.03 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildOcaml rec {
|
||||
pname = "variantslib";
|
||||
version = "109.15.03";
|
||||
|
||||
minimumSupportedOcamlVersion = "4.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "janestreet";
|
||||
repo = "variantslib";
|
||||
rev = version;
|
||||
sha256 = "sha256-pz3i3od2CqKSrm7uTQ2jdidFFwx7m7g1QuG4UdLk01k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ type_conv ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/janestreet/variantslib";
|
||||
description = "OCaml variants as first class values";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ericbmerritt ];
|
||||
};
|
||||
}
|
@ -1374,8 +1374,6 @@ let
|
||||
|
||||
uuuu = callPackage ../development/ocaml-modules/uuuu { };
|
||||
|
||||
variantslib_p4 = callPackage ../development/ocaml-modules/variantslib { };
|
||||
|
||||
vchan = callPackage ../development/ocaml-modules/vchan { };
|
||||
|
||||
vg = callPackage ../development/ocaml-modules/vg { };
|
||||
@ -1585,13 +1583,6 @@ let
|
||||
then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {}
|
||||
else null;
|
||||
|
||||
variantslib =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then janeStreet.variantslib
|
||||
else if lib.versionOlder "4.02" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/variantslib.nix {}
|
||||
else variantslib_p4;
|
||||
|
||||
core_bench =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then janeStreet.core_bench else
|
||||
|
Loading…
Reference in New Issue
Block a user