about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/timed/default.nix
blob: 988cb3f5487fe3d8a2169f8d08eadb1c8e586299 (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
{ lib
, fetchFromGitHub
, ocaml
, buildDunePackage
}:

buildDunePackage rec {
  version = "1.1";
  pname = "timed";

  minimalOCamlVersion = "4.08";

  src = fetchFromGitHub {
    owner = "rlepigre";
    repo = "ocaml-${pname}";
    rev = version;
    sha256 = "sha256-wUoI9j/j0IGYW2NfJHmyR2XEYfYejyoYLWnKsuWdFas=";
  };

  doCheck = true;

  meta = with lib; {
    description = "Timed references for imperative state";
    homepage = "https://github.com/rlepigre/ocaml-timed";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };
}