depot/third_party/nixpkgs/pkgs/development/tools/parsing/re-flex/default.nix

31 lines
675 B
Nix
Raw Normal View History

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