Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 25 lines 725 B view raw
1{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }: 2 3stdenv.mkDerivation rec { 4 pname = "ocaml-config-file"; 5 version = "1.2"; 6 7 src = fetchurl { 8 url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz"; 9 sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q"; 10 }; 11 12 nativeBuildInputs = [ ocaml findlib camlp4 ]; 13 14 strictDeps = true; 15 16 createFindlibDestdir = true; 17 18 meta = { 19 homepage = "http://config-file.forge.ocamlcore.org/"; 20 platforms = ocaml.meta.platforms or [ ]; 21 description = "An OCaml library used to manage the configuration file(s) of an application"; 22 license = lib.licenses.lgpl2Plus; 23 maintainers = with lib.maintainers; [ vbgl ]; 24 }; 25}