Adds ocaml-config-file

config-file is an OCaml library used to manage the configuration
file(s) of an application.

Homepage: http://config-file.forge.ocamlcore.org/
This commit is contained in:
Vincent Laporte 2015-01-11 22:21:27 +01:00
parent b7a5027547
commit 81b57bb8ef
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, ocaml, findlib, camlp4 }:
stdenv.mkDerivation {
name = "ocaml-config-file-1.2";
src = fetchurl {
url = https://forge.ocamlcore.org/frs/download.php/1387/config-file-1.2.tar.gz;
sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q";
};
buildInputs = [ ocaml findlib camlp4 ];
createFindlibDestdir = true;
meta = {
homepage = http://config-file.forge.ocamlcore.org/;
platforms = ocaml.meta.platforms;
description = "An OCaml library used to manage the configuration file(s) of an application";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}

View File

@ -3711,6 +3711,8 @@ let
cmdliner = callPackage ../development/ocaml-modules/cmdliner { }; cmdliner = callPackage ../development/ocaml-modules/cmdliner { };
config-file = callPackage ../development/ocaml-modules/config-file { };
cppo = callPackage ../development/tools/ocaml/cppo { }; cppo = callPackage ../development/tools/ocaml/cppo { };
cryptokit = callPackage ../development/ocaml-modules/cryptokit { }; cryptokit = callPackage ../development/ocaml-modules/cryptokit { };