depot/third_party/nixpkgs/pkgs/development/tools/parsing/re-flex/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

30 lines
675 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, boost
, autoconf
, automake
}:
stdenv.mkDerivation rec {
pname = "re-flex";
version = "3.4.1";
src = fetchFromGitHub {
owner = "Genivia";
repo = "RE-flex";
rev = "v${version}";
sha256 = "sha256-U25W/hNPol6WtBDrKsft00vr/GoRjaNEr36fq2L9FlY=";
};
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 ];
};
}