Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 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, 14}: 15 16buildDunePackage rec { 17 pname = "get-activity-lib"; 18 version = "2.0.1"; 19 20 src = fetchFromGitHub { 21 owner = "tarides"; 22 repo = "get-activity"; 23 rev = version; 24 hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA="; 25 }; 26 27 minimalOCamlVersion = "4.08"; 28 29 buildInputs = [ ppx_yojson_conv ]; 30 31 propagatedBuildInputs = [ 32 astring 33 curly 34 fmt 35 logs 36 ppx_yojson_conv_lib 37 yojson 38 ]; 39 40 checkInputs = [ 41 ppx_expect 42 alcotest 43 ]; 44 45 doCheck = true; 46 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 }; 54}