bats: improve longDescription formatting

Apply suggestions to use markdown fenced code blocks for the usage example and bullet points for the library list.

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
ryu
2026-01-11 16:21:21 +09:00
committed by GitHub
co-authored by Aleksana
parent 4bab0c7984
commit 43cfd42b4d
+10 -9
View File
@@ -258,17 +258,18 @@ resholve.mkDerivation rec {
longDescription = ''
Bats can be extended with libraries. The available libraries are:
bats-assert
bats-file
bats-detik
bats-support
- `bats-assert`
- `bats-file`
- `bats-detik`
- `bats-support`
An example of building this package with a few libraries:
bats.withLibraries (p: [
p.bats-assert
p.bats-support
])
```nix
bats.withLibraries (p: [
p.bats-assert
p.bats-support
])
```
'';
mainProgram = "bats";
maintainers = with lib.maintainers; [ abathur ];