Unverified Commit 43cfd42b authored by ryu's avatar ryu Committed by GitHub
Browse files

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: default avatarAleksana <alexander.huang.y@gmail.com>
parent 4bab0c79
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -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:

      ```nix
      bats.withLibraries (p: [
        p.bats-assert
        p.bats-support
      ])
      ```
    '';
    mainProgram = "bats";
    maintainers = with lib.maintainers; [ abathur ];