ocamlPackages.gmap: use Dune 2
This commit is contained in:
parent
46281741b2
commit
73182c1442
|
@ -1,9 +1,11 @@
|
||||||
{ lib, buildDunePackage, fetchurl, alcotest }:
|
{ lib, buildDunePackage, ocaml, fetchurl, alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "gmap";
|
pname = "gmap";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
|
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
|
||||||
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
|
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
|
||||||
|
@ -11,9 +13,9 @@ buildDunePackage rec {
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
buildInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Heterogenous maps over a GADT";
|
description = "Heterogenous maps over a GADT";
|
||||||
|
|
Loading…
Reference in New Issue