nixpkgs/pkgs/by-name/re/re-flex/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
686 B
Nix
Raw Normal View History

2023-03-07 22:24:28 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
2023-03-07 22:24:28 +00:00
}:
stdenv.mkDerivation rec {
pname = "re-flex";
2024-10-30 06:14:05 +00:00
version = "5.0.1";
2023-03-07 22:24:28 +00:00
src = fetchFromGitHub {
owner = "Genivia";
repo = "RE-flex";
rev = "v${version}";
2024-10-30 06:14:05 +00:00
hash = "sha256-w3qL02I9nrOkEFqmMQU4noPRCamyvJTYpQJYJiUf4ec=";
2023-03-07 22:24:28 +00:00
};
outputs = [ "out" "bin" "dev" ];
nativeBuildInputs = [
cmake
];
2023-03-07 22:24:28 +00:00
meta = with lib; {
homepage = "https://www.genivia.com/doc/reflex/html";
2023-03-07 22:24:28 +00:00
description = "Regex-centric, fast lexical analyzer generator for C++ with full Unicode support";
license = licenses.bsd3;
platforms = platforms.all;
2023-03-07 22:24:28 +00:00
maintainers = with lib.maintainers; [ prrlvr ];
mainProgram = "reflex";
2023-03-07 22:24:28 +00:00
};
}