Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 get-activity-lib, 5 ppx_expect, 6 cmdliner, 7 dune-build-info, 8 fmt, 9 logs, 10 alcotest, 11}: 12 13buildDunePackage rec { 14 pname = "get-activity"; 15 inherit (get-activity-lib) version src; 16 17 minimalOCamlVersion = "4.08"; 18 19 buildInputs = [ 20 get-activity-lib 21 cmdliner 22 dune-build-info 23 fmt 24 logs 25 ]; 26 27 checkInputs = [ 28 ppx_expect 29 alcotest 30 ]; 31 32 doCheck = true; 33 34 meta = { 35 homepage = "https://github.com/tarides/get-activity"; 36 description = "Collect activity and format as markdown for a journal"; 37 license = lib.licenses.mit; 38 changelog = "https://github.com/tarides/get-activity/releases/tag/${version}"; 39 maintainers = with lib.maintainers; [ zazedd ]; 40 }; 41}