summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/config-file
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-01-11 22:21:27 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-01-13 09:46:48 +0100
commit81b57bb8ef757b3acf8316236eae9c9584d458c5 (patch)
tree248ae849319cc26163e099d19f5f7095d4368c33 /pkgs/development/ocaml-modules/config-file
parentb7a502754730c54df63982c108842c7808d823e3 (diff)
downloadnixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar.gz
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar.bz2
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar.lz
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar.xz
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.tar.zst
nixpkgs-81b57bb8ef757b3acf8316236eae9c9584d458c5.zip
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/
Diffstat (limited to 'pkgs/development/ocaml-modules/config-file')
-rw-r--r--pkgs/development/ocaml-modules/config-file/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/config-file/default.nix b/pkgs/development/ocaml-modules/config-file/default.nix
new file mode 100644
index 00000000000..15eb0666777
--- /dev/null
+++ b/pkgs/development/ocaml-modules/config-file/default.nix
@@ -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 ];
+  };
+}