Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 645 B view raw
1{ lib, fetchFromGitHub, buildDunePackage, ocaml }: 2 3buildDunePackage (rec { 4 pname = "octavius"; 5 version = "1.2.2"; 6 7 src = fetchFromGitHub { 8 owner = "ocaml-doc"; 9 repo = "octavius"; 10 rev = "v${version}"; 11 sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA="; 12 }; 13 14 minimalOCamlVersion = "4.03"; 15 16 doCheck = true; 17 18 meta = with lib; { 19 description = "Ocamldoc comment syntax parser"; 20 homepage = "https://github.com/ocaml-doc/octavius"; 21 license = licenses.isc; 22 maintainers = with maintainers; [ vbgl ]; 23 }; 24} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { 25 duneVersion = "1"; 26})