Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 cppo, 6 ocp-indent, 7 cmdliner, 8 re, 9}: 10 11buildDunePackage rec { 12 pname = "ocp-index"; 13 version = "1.3.7"; 14 15 minimalOCamlVersion = "4.08"; 16 17 src = fetchFromGitHub { 18 owner = "OCamlPro"; 19 repo = "ocp-index"; 20 rev = version; 21 hash = "sha256-FbkVJRbFNSho/E59QMUoGK+TrdnnacmykJWWG2JVDVA="; 22 }; 23 24 nativeBuildInputs = [ cppo ]; 25 buildInputs = [ 26 cmdliner 27 re 28 ]; 29 30 propagatedBuildInputs = [ ocp-indent ]; 31 32 meta = { 33 homepage = "https://www.typerex.org/ocp-index.html"; 34 description = "Simple and light-weight documentation extractor for OCaml"; 35 changelog = "https://github.com/OCamlPro/ocp-index/raw/${version}/CHANGES.md"; 36 license = lib.licenses.lgpl3; 37 maintainers = with lib.maintainers; [ vbgl ]; 38 }; 39}