Files
nixpkgs/pkgs/misc/documentation-highlighter/default.nix
T
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00

27 lines
636 B
Nix

{ lib, runCommand }:
runCommand "documentation-highlighter"
{
meta = {
description = "Highlight.js sources for the Nix Ecosystem's documentation";
homepage = "https://highlightjs.org";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.grahamc ];
};
src = lib.sources.cleanSourceWith {
src = ./.;
filter =
path: type:
lib.elem (baseNameOf path) [
"highlight.pack.js"
"LICENSE"
"loader.js"
"mono-blue.css"
"README.md"
];
};
}
''
cp -r "$src" "$out"
''