about summary refs log tree commit diff
path: root/pkgs/by-name/ra/ratchet/tests.nix
blob: 7585c06d91728e35026a5fc21f1f431589b9aa39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  lib,
  runCommand,
  ratchet,
}: let
  inherit (ratchet) pname version;
in
  runCommand "${pname}-tests" {meta.timeout = 60;}
  ''
    set -euo pipefail

    # Ensure ratchet is executable
    ${ratchet}/bin/ratchet --version
    ${ratchet}/bin/ratchet --help

    touch $out
  ''