about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/get-activity/default.nix
blob: dbd585f57800e30987aaf617679bc9df28b545e5 (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
32
33
34
35
36
37
38
{
  lib,
  buildDunePackage,
  get-activity-lib,
  ppx_expect,
  cmdliner,
  dune-build-info,
  fmt,
  logs,
  alcotest
}:

buildDunePackage rec {
  pname = "get-activity";
  inherit (get-activity-lib) version src;

  minimalOCamlVersion = "4.08";

  buildInputs = [
    get-activity-lib
    cmdliner
    dune-build-info
    fmt
    logs
  ];

  checkInputs = [ ppx_expect alcotest ];

  doCheck = true;

  meta = {
    homepage = "https://github.com/tarides/get-activity";
    description = "Collect activity and format as markdown for a journal";
    license = lib.licenses.mit;
    changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
    maintainers = with lib.maintainers; [ zazedd ];
  };
}