mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
26 lines
725 B
Nix
26 lines
725 B
Nix
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml-config-file";
|
|
version = "1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz";
|
|
sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q";
|
|
};
|
|
|
|
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
|
|
|
strictDeps = true;
|
|
|
|
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 = lib.licenses.lgpl2Plus;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|