1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5}:
6
7buildDunePackage rec {
8 version = "1.1";
9 pname = "timed";
10
11 minimalOCamlVersion = "4.08";
12
13 src = fetchFromGitHub {
14 owner = "rlepigre";
15 repo = "ocaml-${pname}";
16 rev = version;
17 sha256 = "sha256-wUoI9j/j0IGYW2NfJHmyR2XEYfYejyoYLWnKsuWdFas=";
18 };
19
20 doCheck = true;
21
22 meta = with lib; {
23 description = "Timed references for imperative state";
24 homepage = "https://github.com/rlepigre/ocaml-timed";
25 license = licenses.mit;
26 maintainers = with maintainers; [ bcdarwin ];
27 };
28}