Unverified Commit 030da889 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #294403 from marsam/update-re-flex

re-flex: 4.0.1 -> 4.1.0
parents 12ff623a e61656f5
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, boost
, autoconf
, automake
, cmake
}:

stdenv.mkDerivation rec {
  pname = "re-flex";
  version = "4.0.1";
  version = "4.1.0";

  src = fetchFromGitHub {
    owner = "Genivia";
    repo = "RE-flex";
    rev = "v${version}";
    sha256 = "sha256-eQ2+RthvOKCd2Dl6i+9DahJArFfOhPJkn6PI/yuaqos=";
    hash = "sha256-pjYiCRKaskJg1IuCxNBUQ9FY2abGi4HEZxsfZ5ctjNY=";
  };

  nativeBuildInputs = [ boost autoconf automake ];
  outputs = [ "out" "bin" "dev" ];

  nativeBuildInputs = [
    cmake
  ];

  meta = with lib; {
    homepage = "https://github.com/Genivia/RE-flex";
    homepage = "https://www.genivia.com/doc/reflex/html";
    description = "The regex-centric, fast lexical analyzer generator for C++ with full Unicode support";
    license = licenses.bsd3;
    platforms = platforms.unix;
    platforms = platforms.all;
    maintainers = with lib.maintainers; [ prrlvr ];
    mainProgram = "reflex";
  };
}