ocamlPackages.sedlex: remove at 1.99.5

This commit is contained in:
Vincent Laporte 2022-05-22 13:10:24 +02:00 committed by Vincent Laporte
parent 64da60d311
commit c3e55aa79a
2 changed files with 0 additions and 39 deletions

View file

@ -1,37 +0,0 @@
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, gen, ppx_tools_versioned, ocaml-migrate-parsetree }:
if lib.versionOlder ocaml.version "4.02"
then throw "sedlex is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-sedlex";
version = "1.99.5";
src = fetchFromGitHub {
owner = "ocaml-community";
repo = "sedlex";
rev = "fb84e1766fc4b29e79ec40029ffee5cdb37b392f";
sha256 = "sha256-VhzlDTYBFXgKWT69PqZYLuHkiaDwzhmyX2XfaqzHFl4=";
};
nativeBuildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ gen ocaml-migrate-parsetree ppx_tools_versioned ];
strictDeps = true;
buildFlags = [ "all" "opt" ];
createFindlibDestdir = true;
dontStrip = true;
meta = {
homepage = "https://github.com/ocaml-community/sedlex";
description = "An OCaml lexer generator for Unicode";
license = lib.licenses.mit;
inherit (ocaml.meta) platforms;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -1320,8 +1320,6 @@ let
safepass = callPackage ../development/ocaml-modules/safepass { };
sedlex = callPackage ../development/ocaml-modules/sedlex { };
sedlex_2 = callPackage ../development/ocaml-modules/sedlex/2.nix { };
semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { };