about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/config-file/default.nix
blob: 724c5b1e2d6accc6c790dfa6fbbbfd63014205a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 or [];
    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 ];
  };
}