forked from auxolotl/core
pegtl: init at 3.2.7
This commit is contained in:
parent
bbd2dbcfa7
commit
9bc38abb64
38
pkgs/by-name/pe/pegtl/default.nix
Normal file
38
pkgs/by-name/pe/pegtl/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
ninja,
|
||||
stdenv,
|
||||
}:
|
||||
let
|
||||
version = "3.2.7";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "pegtl";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "taocpp";
|
||||
repo = "PEGTL";
|
||||
rev = version;
|
||||
hash = "sha256-IV5YNGE4EWVrmg2Sia/rcU8jCuiBynQGJM6n3DCWTQU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/taocpp/pegtl";
|
||||
description = "Parsing Expression Grammar Template Library";
|
||||
longDescription = ''
|
||||
Zero-dependency C++ header-only parser combinator library
|
||||
for creating parsers according to a Parsing Expression Grammar (PEG).
|
||||
'';
|
||||
license = lib.licenses.boost;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue