ocamlPackages.async_unix: remove at 112.24.00

This is a legacy version for OCaml 4.02
This commit is contained in:
Vincent Laporte 2020-05-01 10:14:05 +02:00 committed by Vincent Laporte
parent 2f943ebc25
commit e9759c1c3a
3 changed files with 0 additions and 53 deletions

View File

@ -1,27 +0,0 @@
{stdenv, buildOcaml, fetchurl, async_kernel_p4,
bin_prot_p4, comparelib, core_p4, fieldslib_p4, herelib, pa_ounit,
pipebang, pa_test, sexplib_p4}:
buildOcaml rec {
name = "async_unix";
version = "112.24.00";
minimumSupportedOcamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/janestreet/async_unix/archive/${version}.tar.gz";
sha256 = "d490b1dc42f0987a131fa9695b55f215ad90cdaffbfac35b7f9f88f3834337ab";
};
hasSharedObjects = true;
buildInputs = [ pa_ounit ];
propagatedBuildInputs = [ async_kernel_p4 core_p4 bin_prot_p4 comparelib
fieldslib_p4 herelib pipebang pa_test sexplib_p4 ];
meta = with stdenv.lib; {
homepage = "https://github.com/janestreet/async_unix";
description = "Jane Street Capital's asynchronous execution library (unix)";
license = licenses.asl20;
maintainers = [ maintainers.ericbmerritt ];
};
}

View File

@ -1,17 +0,0 @@
{stdenv, buildOcamlJane, async_kernel,
bin_prot, comparelib, core, fieldslib, herelib,
pipebang, sexplib}:
buildOcamlJane {
name = "async_unix";
hash = "03ng7f0s22wwzspakiqj442vs1a7yf834109jcj9r3g1awwfhcy7";
propagatedBuildInputs = [ async_kernel core bin_prot comparelib
fieldslib herelib pipebang sexplib ];
meta = with stdenv.lib; {
homepage = "https://github.com/janestreet/async_unix";
description = "Jane Street Capital's asynchronous execution library (unix)";
license = licenses.asl20;
maintainers = [ maintainers.maurer maintainers.ericbmerritt ];
};
}

View File

@ -38,8 +38,6 @@ let
async_kernel_p4 = callPackage ../development/ocaml-modules/async_kernel { };
async_unix_p4 = callPackage ../development/ocaml-modules/async_unix { };
atd = callPackage ../development/ocaml-modules/atd { };
atdgen = callPackage ../development/ocaml-modules/atdgen { };
@ -1182,13 +1180,6 @@ let
then janeStreet.async_rpc_kernel
else callPackage ../development/ocaml-modules/janestreet/async-rpc-kernel.nix {};
async_unix =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.async_unix
else if lib.versionOlder "4.02" ocaml.version
then callPackage ../development/ocaml-modules/janestreet/async-unix.nix {}
else async_unix_p4;
# Apps / from all-packages
ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };