40 lines
437 B
Nix
40 lines
437 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
}
|