depot/third_party/nixpkgs/pkgs/development/tools/parsing/re-flex/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

32 lines
690 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "re-flex";
version = "4.2.1";
src = fetchFromGitHub {
owner = "Genivia";
repo = "RE-flex";
rev = "v${version}";
hash = "sha256-tWV7HnIeTao3IbT2xxsu+//4aLQLKP/+ySqrvzU139c=";
};
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";
};
}