docs(sterni/blërg): list dependencies in README

Change-Id: Iceacf406bef71529cb29e8adcf9fe1f713187e42
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13103
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2025-01-20 23:30:39 +01:00 committed by clbot
parent 69bb8b1423
commit a5272f8ccc
3 changed files with 18 additions and 6 deletions

View file

@ -0,0 +1,14 @@
# blërg
## dependencies
- [CBQN][] (other [BQN][] implementations may work, but are untested)
- //users/sterni/mn2html
- [mblaze(7)][mblaze]
- [execline][]
- POSIX `printf(1)` (e.g. from GNU coreutils)
[mblaze]: https://github.com/leahneukirchen/mblaze/
[execline]: https://skarnet.org/software/execline/
[BQN]: https://mlochbaum.github.io/BQN/
[CBQN]: https://github.com/dzaima/cbqn

View file

@ -4,12 +4,8 @@
#
# blërg is a reimplementation of mblog in BQN. BQN is used as a sort of bespoke
# scripting languages so we can rely on external tools for certain tasks (e.g.
# transforming HTML and parsing MIME messages).
#
# Specifically, blërg depends on:
# - mblaze
# - mn2html
# - execline (to work around the lack of cwd in BQN)
# transforming HTML and parsing MIME messages). A list of dependencies is
# maintained in README.md.
# Utilities

View file

@ -1,12 +1,14 @@
{ depot, pkgs, lib, ... }:
let
# update README.md when changing this
runtimeDependencies = [
depot.users.sterni.mn2html
pkgs.mblaze
pkgs.execline # execline-cd
];
# … and this
buildInputs = [
pkgs.cbqn
];