summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/testo/default.nix
blob: 0db198af0e5afe1f6121ac68f9d1b1b1a5483aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  fetchurl,
  buildDunePackage,
  testo-util,
  cmdliner,
}:

buildDunePackage (finalAttrs: {
  pname = "testo";
  version = "0.4.0";

  src = fetchurl {
    url = "https://github.com/mjambon/testo/releases/download/${finalAttrs.version}/testo-${finalAttrs.version}.tbz";
    hash = "sha256-cPm+FSS1fCj3PCyEk37p93lHjpH6NZ3GNkKJjdExaXs=";
  };

  propagatedBuildInputs = [
    cmdliner
    testo-util
  ];

  meta = {
    homepage = "https://github.com/mjambon/testo";
    license = lib.licenses.isc;
    description = "Test framework for OCaml";
    maintainers = [ lib.maintainers.vbgl ];
  };
})