98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
32 lines
686 B
Nix
32 lines
686 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "re-flex";
|
|
version = "4.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Genivia";
|
|
repo = "RE-flex";
|
|
rev = "v${version}";
|
|
hash = "sha256-yMFz3KrB1eIzGg0LB3U0H+XQz/DKhJOyiG8ScW9Lm7A=";
|
|
};
|
|
|
|
outputs = [ "out" "bin" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.genivia.com/doc/reflex/html";
|
|
description = "Regex-centric, fast lexical analyzer generator for C++ with full Unicode support";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
maintainers = with lib.maintainers; [ prrlvr ];
|
|
mainProgram = "reflex";
|
|
};
|
|
}
|