greenmask: 0.2.6 -> 0.2.7 (#378403)
[NixPkgs.git] / pkgs / development / ocaml-modules / get-activity / lib.nix
blob352b75d27f4fd2137e969d1880f70fc7c2cf5749
2   lib,
3   buildDunePackage,
4   fetchFromGitHub,
5   ppx_expect,
6   astring,
7   curly,
8   fmt,
9   logs,
10   ppx_yojson_conv,
11   ppx_yojson_conv_lib,
12   yojson,
13   alcotest,
16 buildDunePackage rec {
17   pname = "get-activity-lib";
18   version = "2.0.1";
20   src = fetchFromGitHub {
21     owner = "tarides";
22     repo = "get-activity";
23     rev = version;
24     hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA=";
25   };
27   minimalOCamlVersion = "4.08";
29   buildInputs = [ ppx_yojson_conv ];
31   propagatedBuildInputs = [
32     astring
33     curly
34     fmt
35     logs
36     ppx_yojson_conv_lib
37     yojson
38   ];
40   checkInputs = [
41     ppx_expect
42     alcotest
43   ];
45   doCheck = true;
47   meta = {
48     homepage = "https://github.com/tarides/get-activity";
49     description = "Collect activity and format as markdown for a journal (lib)";
50     license = lib.licenses.mit;
51     changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
52     maintainers = with lib.maintainers; [ zazedd ];
53   };