ocamlPackages.gmap: use Dune 2

This commit is contained in:
Vincent Laporte 2020-12-05 17:27:37 +01:00 committed by Vincent Laporte
parent 46281741b2
commit 73182c1442

View file

@ -1,9 +1,11 @@
{ lib, buildDunePackage, fetchurl, alcotest }:
{ lib, buildDunePackage, ocaml, fetchurl, alcotest }:
buildDunePackage rec {
pname = "gmap";
version = "0.3.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
@ -11,9 +13,9 @@ buildDunePackage rec {
minimumOCamlVersion = "4.03";
buildInputs = [ alcotest ];
checkInputs = [ alcotest ];
doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = {
description = "Heterogenous maps over a GADT";