anchor.diff: -{ stdenv
  +{ lib
   , fetchFromGitHub
   , fetchurl
  +, buildDunePackage
   , ocaml
  -, dune
  -, findlib
   , gen
   , ppx_tools_versioned
   , ocaml-migrate-parsetree
   , uchar
   }:
   
  -if stdenv.lib.versionOlder ocaml.version "4.02.3"
  +if lib.versionOlder ocaml.version "4.02.3"
   then throw "sedlex is not available for OCaml ${ocaml.version}"
   else
   
  
positive.code:     ln -s ${PropList} src/generator/data/PropList.txt
    '';
  
    buildFlags = [ "build" ];
  
    installPhase = ''
      make INSTALL_ARGS="--prefix=$out --libdir=$OCAMLFIND_DESTDIR" install
    '';
  
    createFindlibDestdir = true;
  
    dontStrip = true;
  
    meta = {
      homepage = https://github.com/ocaml-community/sedlex;
      description = "An OCaml lexer generator for Unicode";
      license = stdenv.lib.licenses.mit;
      inherit (ocaml.meta) platforms;
      maintainers = [ stdenv.lib.maintainers.marsam ];
    };
  }
  
negative.code:     sha256 = "05f6qa8x3vhpdz1fcnpqk37fpnyyq13icqsk2gww5idjnh6kng26";
    };
  
    buildInputs = [ ppx_tools_versioned ocaml-migrate-parsetree ];
  
    propagatedBuildInputs = [ gen uchar ];
  
  