2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, boost
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "re-flex";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "3.5.0";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Genivia";
|
|
|
|
repo = "RE-flex";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-gk+VVfjVPopuzhrEuWNxQxKYjOFbqOGD9YS1npN71Bg=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ boost autoconf automake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Genivia/RE-flex";
|
|
|
|
description = "The regex-centric, fast lexical analyzer generator for C++ with full Unicode support";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ prrlvr ];
|
|
|
|
};
|
|
|
|
}
|