Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 menhir, 6 menhirLib, 7 ppx_expect, 8 sexplib0, 9 zarith, 10}: 11 12buildDunePackage rec { 13 pname = "kdl"; 14 version = "0.2.0"; 15 16 minimalOCamlVersion = "4.14"; 17 18 nativeBuildInputs = [ 19 menhir 20 ]; 21 22 propagatedBuildInputs = [ 23 menhirLib 24 sexplib0 25 ]; 26 27 checkInputs = [ 28 ppx_expect 29 zarith 30 ]; 31 32 doCheck = true; 33 34 src = fetchFromGitHub { 35 owner = "eilvelia"; 36 repo = "ocaml-kdl"; 37 tag = "v${version}"; 38 hash = "sha256-0MiJe0XbWAlS2NvGxLplsgVfCNaA/7iCMx4+F+6FAtM="; 39 }; 40 41 meta = { 42 description = "OCaml implementation of the KDL Document Language v2"; 43 license = lib.licenses.mpl20; 44 maintainers = with lib.maintainers; [ toastal ]; 45 homepage = "https://github.com/eilvelia/ocaml-kdl"; 46 }; 47}