feat(package): onlinepubs: init

This commit is contained in:
2025-10-08 15:58:35 +00:00
parent a1b31b1684
commit 7d55064a44
4 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ symlinkJoin, writeShellApplication, pandoc, gzip, man-db }:
let
build-man = writeShellApplication {
name = "build-man";
runtimeInputs = [ pandoc gzip man-db ];
text = builtins.readFile ./build-man.sh;
};
download-html = writeShellApplication {
name = "download-html";
runtimeInputs = [ ];
text = builtins.readFile ./download-html.sh;
};
in
symlinkJoin {
name = "onlinepubs2man";
paths = [ download-html build-man ];
}