summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/camomile/0.8.2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/camomile/0.8.2.nix')
-rw-r--r--pkgs/development/ocaml-modules/camomile/0.8.2.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/camomile/0.8.2.nix b/pkgs/development/ocaml-modules/camomile/0.8.2.nix
new file mode 100644
index 00000000000..674c6c0367b
--- /dev/null
+++ b/pkgs/development/ocaml-modules/camomile/0.8.2.nix
@@ -0,0 +1,29 @@
+{stdenv, fetchurl, ocaml, findlib}:
+
+let
+  ocaml_version = (builtins.parseDrvName ocaml.name).version;
+  version = "0.8.2";
+in
+
+stdenv.mkDerivation {
+  name = "camomile-${version}";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2";
+    sha256 = "0x43pjxx70kgip86mmdn08s97k4qzdqc8i79xfyyx28smy1bsa00";
+  };
+
+  buildInputs = [ocaml findlib];
+
+  createFindlibDestdir = true;
+
+  meta = {
+    homepage = http://camomile.sourceforge.net/;
+    description = "A comprehensive Unicode library for OCaml";
+    license = "LGPL";
+    platforms = ocaml.meta.platforms;
+    maintainers = [
+      stdenv.lib.maintainers.z77z
+    ];
+  };
+}