Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, ocaml, buildDunePackage, fetchurl, seq, stdlib-shims, ncurses }:
2
3buildDunePackage rec {
4 minimalOCamlVersion = "4.08";
5
6 pname = "ounit2";
7 version = "2.2.7";
8
9 src = fetchurl {
10 url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-${version}.tbz";
11 hash = "sha256-kPbmO9EkClHYubL3IgWb15zgC1J2vdYji49cYTwOc4g=";
12 };
13
14 propagatedBuildInputs = [ seq stdlib-shims ];
15
16 doCheck = true;
17
18 meta = with lib; {
19 homepage = "https://github.com/gildor478/ounit";
20 description = "A unit test framework for OCaml";
21 license = licenses.mit;
22 maintainers = with maintainers; [ sternenseemann ];
23 };
24}