aboutsummaryrefslogtreecommitdiff
path: root/misc/pegtl.nix
blob: 3fd999d9db57d852c488187aed7c64b032fb895e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  stdenv,
  cmake,
  ninja,
  fetchFromGitHub,
}:

stdenv.mkDerivation {
  pname = "pegtl";
  version = "3.2.7";

  src = fetchFromGitHub {
    repo = "PEGTL";
    owner = "taocpp";
    rev = "refs/tags/3.2.7";
    hash = "sha256-IV5YNGE4EWVrmg2Sia/rcU8jCuiBynQGJM6n3DCWTQU=";
  };

  nativeBuildInputs = [
    cmake
    ninja
  ];
}