regex-is-hard/package.nix

40 lines
437 B
Nix
Raw Normal View History

2024-08-29 17:36:29 +00:00
{
stdenv,
lib,
meson,
ninja,
pkg-config,
boost,
oniguruma,
pcre2,
re2,
tre,
}:
stdenv.mkDerivation {
name = "regex-is-hard";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./meson.build
./src
];
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
boost
oniguruma
pcre2
re2
tre
];
}