Merge pull request #149595 from vbgl/ocaml-faillib-remove

ocamlPackages.{faillib, estring}: remove
This commit is contained in:
Jörg Thalheim 2021-12-08 15:32:13 +00:00 committed by GitHub
commit 921194c99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 53 deletions

View File

@ -1,21 +0,0 @@
{ lib, buildOcaml, ocaml, fetchurl }:
if lib.versionAtLeast ocaml.version "4.06"
then throw "estring is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
pname = "estring";
version = "1.3";
src = fetchurl {
url = "https://forge.ocamlcore.org/frs/download.php/1012/estring-${version}.tar.gz";
sha256 = "0b6znz5igm8pp28w4b7sgy82rpd9m5aw6ss933rfbw1mrh05gvcg";
};
meta = with lib; {
homepage = "http://estring.forge.ocamlcore.org/";
description = "Extension for string literals";
license = licenses.bsd3;
};
}

View File

@ -1,28 +0,0 @@
{ lib, buildOcaml, fetchurl, ocaml, herelib, camlp4 }:
if lib.versionAtLeast ocaml.version "4.06"
then throw "faillib-111.17.00 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
minimumSupportedOcamlVersion = "4.00";
pname = "faillib";
version = "111.17.00";
src = fetchurl {
url = "https://github.com/janestreet/faillib/archive/${version}.tar.gz";
sha256 = "12dvaxkmgf7yzzvbadcyk1n17llgh6p8qr33867d21npaljy7l9v";
};
propagatedBuildInputs = [ camlp4 herelib ];
doCheck = true;
checkPhase = "make test";
meta = with lib; {
homepage = "https://ocaml.janestreet.com/";
description = "Library for dealing with failure in OCaml";
license = licenses.asl20;
maintainers = [ maintainers.maurer ];
};
}

View File

@ -359,8 +359,6 @@ let
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
estring = callPackage ../development/ocaml-modules/estring { };
ethernet = callPackage ../development/ocaml-modules/ethernet { };
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { };
@ -369,8 +367,6 @@ let
facile = callPackage ../development/ocaml-modules/facile { };
faillib = callPackage ../development/ocaml-modules/faillib { };
faraday = callPackage ../development/ocaml-modules/faraday { };
faraday-async = callPackage ../development/ocaml-modules/faraday/async.nix { };