Skip to content

Commit

Permalink
ocamlPackages.gmap: use Dune 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Dec 8, 2020
1 parent 4628174 commit 73182c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/ocaml-modules/gmap/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{ 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";
};

minimumOCamlVersion = "4.03";

buildInputs = [ alcotest ];
checkInputs = [ alcotest ];

doCheck = true;
doCheck = lib.versionAtLeast ocaml.version "4.05";

meta = {
description = "Heterogenous maps over a GADT";
Expand Down

0 comments on commit 73182c1

Please sign in to comment.