nixpkgs/pkgs/development/tools/parsing/re-flex/default.nix
2024-04-02 08:06:45 +00:00

33 lines
690 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "re-flex";
version = "4.2.0";
src = fetchFromGitHub {
owner = "Genivia";
repo = "RE-flex";
rev = "v${version}";
hash = "sha256-+/Q3lcdV4tEArYmuQN5iL6r5TS0J/zoLQ85bNazpSf8=";
};
outputs = [ "out" "bin" "dev" ];
nativeBuildInputs = [
cmake
];
meta = with lib; {
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.all;
maintainers = with lib.maintainers; [ prrlvr ];
mainProgram = "reflex";
};
}