Commit 8a88bac9 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.ounit2: 2.2.4 → 2.2.6

parent ae179a48
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{ lib, ocaml, buildDunePackage, fetchurl, stdlib-shims, ncurses }:
{ lib, ocaml, buildDunePackage, fetchurl, seq, stdlib-shims, ncurses }:

buildDunePackage rec {
  minimumOCamlVersion = "4.04";

  pname = "ounit2";
  version = "2.2.4";
  version = "2.2.6";

  useDune2 = lib.versionAtLeast ocaml.version "4.08";

  src = fetchurl {
    url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz";
    sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m";
    url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-${version}.tbz";
    sha256 = "sha256-BpD7Hg6QoY7tXDVms8wYJdmLDox9UbtrhGyVxFphWRM=";
  };

  propagatedBuildInputs = [ stdlib-shims ];
  propagatedBuildInputs = [ seq stdlib-shims ];

  doCheck = true;
  checkInputs = lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;