Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchurl, 4 ocaml, 5 buildDunePackage, 6 cppo, 7 ounit2, 8}: 9 10buildDunePackage rec { 11 pname = "arg-complete"; 12 version = "0.2.1"; 13 14 src = fetchurl { 15 url = "https://github.com/sim642/ocaml-arg-complete/releases/download/${version}/arg-complete-${version}.tbz"; 16 hash = "sha256-SZvLaeeqY3j2LUvqxGs0Vw57JnnpdvAk1jnE3pk27QU="; 17 }; 18 19 nativeBuildInputs = [ cppo ]; 20 21 doCheck = lib.versionAtLeast ocaml.version "4.08"; 22 checkInputs = [ ounit2 ]; 23 24 meta = { 25 description = "Bash completion support for OCaml Stdlib.Arg"; 26 homepage = "https://sim642.github.io/ocaml-arg-complete/"; 27 changelog = "https://raw.githubusercontent.com/sim642/ocaml-arg-complete/refs/tags/${version}/CHANGELOG.md"; 28 license = lib.licenses.mit; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31}