2021-04-10 13:40:22 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2019-12-21 05:20:15 +01:00
|
|
|
|
2021-04-10 13:40:22 +02:00
|
|
|
depot.third_party.naersk.buildPackage {
|
2019-12-21 05:55:10 +01:00
|
|
|
src = ./.;
|
|
|
|
doDoc = false;
|
2022-05-24 20:06:44 +02:00
|
|
|
doCheck = true;
|
2019-12-21 05:55:10 +01:00
|
|
|
|
|
|
|
override = x: {
|
2020-06-15 01:19:36 +02:00
|
|
|
# Use our custom bat syntax set, which is everything from upstream,
|
|
|
|
# plus additional languages we care about.
|
2021-04-10 13:40:22 +02:00
|
|
|
BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";
|
2019-12-21 05:55:10 +01:00
|
|
|
};
|
2022-02-03 19:39:18 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
# Wrapper for cgit which can't be told to pass arguments to a filter
|
|
|
|
about-filter = pkgs.writeShellScriptBin "cheddar-about" ''
|
|
|
|
exec ${depot.tools.cheddar}/bin/cheddar --about-filter $@
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-02-08 00:24:29 +01:00
|
|
|
meta.ci.targets = [
|
2022-02-03 19:39:18 +01:00
|
|
|
"about-filter"
|
|
|
|
];
|
2019-12-21 05:55:10 +01:00
|
|
|
}
|