summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/bindlib/default.nix
blob: bf0efa0ae9a93b02558af9f6cc483208f35eb57e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
  earley,
  timed,
}:

buildDunePackage (finalAttrs: {
  pname = "bindlib";
  version = "6.0.0";

  minimalOCamlVersion = "4.07";

  src = fetchFromGitHub {
    owner = "rlepigre";
    repo = "ocaml-bindlib";
    rev = finalAttrs.version;
    hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4=";
  };

  checkInputs = [
    earley
    timed
  ];
  doCheck = true;

  meta = {
    homepage = "https://rlepigre.github.io/ocaml-bindlib";
    description = "Efficient binder representation in Ocaml";
    license = lib.licenses.gpl3;
    changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${finalAttrs.version}/CHANGELOG.md";
    maintainers = with lib.maintainers; [ bcdarwin ];
  };
})