mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
ocamlPackages.gmap: use Dune 2
This commit is contained in:
parent
46281741b2
commit
73182c1442
1 changed files with 5 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue