bats: add usage example to longDescription (#478728)

This commit is contained in:
Aleksana
2026-01-15 02:53:58 +00:00
committed by GitHub
+16
View File
@@ -255,6 +255,22 @@ resholve.mkDerivation rec {
meta = {
homepage = "https://github.com/bats-core/bats-core";
description = "Bash Automated Testing System";
longDescription = ''
Bats can be extended with libraries. The available libraries are:
- `bats-assert`
- `bats-file`
- `bats-detik`
- `bats-support`
An example of building this package with a few libraries:
```nix
bats.withLibraries (p: [
p.bats-assert
p.bats-support
])
```
'';
mainProgram = "bats";
maintainers = with lib.maintainers; [ abathur ];
license = lib.licenses.mit;