31 lines
668 B
Nix
31 lines
668 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, autoreconfHook
|
||
|
, boost
|
||
|
, autoconf
|
||
|
, automake
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "re-flex";
|
||
|
version = "3.3.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "Genivia";
|
||
|
repo = "RE-flex";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "w3ecuUa7lBtRv071acBIZGcpjBZD4UvVQdUzT7qWiMo=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|