2021-01-11 12:49:15 +00:00
|
|
|
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
|
2015-01-11 21:21:27 +00:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ocaml-config-file";
|
|
|
|
version = "1.2";
|
2015-01-11 21:21:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz";
|
2015-01-11 21:21:27 +00:00
|
|
|
sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q";
|
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2015-01-11 21:21:27 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://config-file.forge.ocamlcore.org/";
|
2021-11-09 19:53:19 +00:00
|
|
|
platforms = ocaml.meta.platforms or [ ];
|
2015-01-11 21:21:27 +00:00
|
|
|
description = "An OCaml library used to manage the configuration file(s) of an application";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-01-11 21:21:27 +00:00
|
|
|
};
|
|
|
|
}
|