Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 findlib, 6 mdx, 7 qcheck-core, 8 ppx_inline_test, 9}: 10 11buildDunePackage rec { 12 pname = "patricia-tree"; 13 version = "0.11.0"; 14 15 minimalOCamlVersion = "4.14"; 16 17 src = fetchFromGitHub { 18 owner = "codex-semantics-library"; 19 repo = "patricia-tree"; 20 tag = "v${version}"; 21 hash = "sha256-lpmU0KhsyIHxPBiw38ssA7XFEMsRvOT03MByoJG88Xs="; 22 }; 23 24 nativeCheckInputs = [ 25 mdx.bin 26 ]; 27 28 checkInputs = [ 29 mdx 30 ppx_inline_test 31 qcheck-core 32 ]; 33 34 doCheck = true; 35 36 meta = { 37 description = "Patricia Tree data structure in OCaml"; 38 homepage = "https://codex.top/api/patricia-tree/"; 39 downloadPage = "https://github.com/codex-semantics-library/patricia-tree"; 40 changelog = "https://github.com/codex-semantics-library/patricia-tree/releases/tag/v${version}"; 41 license = lib.licenses.lgpl21Only; 42 maintainers = [ lib.maintainers.ethancedwards8 ]; 43 }; 44}