nixpkgs/pkgs/development/ocaml-modules/gmap/default.nix

27 lines
639 B
Nix
Raw Normal View History

2020-12-05 17:27:37 +01:00
{ lib, buildDunePackage, ocaml, fetchurl, alcotest }:
2019-08-24 09:02:17 +02:00
buildDunePackage rec {
pname = "gmap";
version = "0.3.0";
2020-12-05 17:27:37 +01:00
useDune2 = true;
2019-08-24 09:02:17 +02:00
src = fetchurl {
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
};
minimumOCamlVersion = "4.03";
2020-12-05 17:27:37 +01:00
checkInputs = [ alcotest ];
2019-08-24 09:02:17 +02:00
2020-12-05 17:27:37 +01:00
doCheck = lib.versionAtLeast ocaml.version "4.05";
2019-08-24 09:02:17 +02:00
meta = {
description = "Heterogenous maps over a GADT";
homepage = "https://github.com/hannesm/gmap";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}