mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
ocamlPackages.ounit(2): 2.2.3 -> 2.2.4
also enable tests
This commit is contained in:
parent
80418f65eb
commit
145c2dd515
@ -1,18 +1,21 @@
|
||||
{ lib, buildDunePackage, fetchurl, stdlib-shims }:
|
||||
{ lib, ocaml, buildDunePackage, fetchurl, stdlib-shims, ncurses }:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
pname = "ounit2";
|
||||
version = "2.2.3";
|
||||
version = "2.2.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-v${version}.tbz";
|
||||
sha256 = "1naahh24lbyxmrnzpfz8karniqbf1nknivf96mrvsr6zlx5ad072";
|
||||
sha256 = "0i9kiqbf2dp12c4qcvbn4abdpdp6h4g5z54ycsh0q8jpv6jnkh5m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ stdlib-shims ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional (lib.versionOlder ocaml.version "4.07") ncurses;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gildor478/ounit";
|
||||
description = "A unit test framework for OCaml";
|
||||
|
Loading…
Reference in New Issue
Block a user