Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchFromGitHub 3, buildDunePackage 4, earley 5, timed 6}: 7 8buildDunePackage rec { 9 pname = "bindlib"; 10 version = "6.0.0"; 11 12 minimalOCamlVersion = "4.07"; 13 14 src = fetchFromGitHub { 15 owner = "rlepigre"; 16 repo = "ocaml-${pname}"; 17 rev = version; 18 hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4="; 19 }; 20 21 checkInputs = [ earley timed ]; 22 doCheck = true; 23 24 meta = with lib; { 25 homepage = "https://rlepigre.github.io/ocaml-bindlib"; 26 description = "Efficient binder representation in Ocaml"; 27 license = licenses.gpl3; 28 changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${version}/CHANGELOG.md"; 29 maintainers = with maintainers; [ bcdarwin ]; 30 }; 31}