about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bindlib/default.nix
blob: 9f4cc91e22502d4175dc2b0161c971c6bcde3e81 (plain) (blame)
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
{ lib
, fetchFromGitHub
, buildDunePackage
, earley
, timed
}:

buildDunePackage rec {
  pname = "bindlib";
  version = "6.0.0";

  minimalOCamlVersion = "4.07";

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

  nativeCheckInputs = [ earley timed ];
  doCheck = true;

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