mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
5b730d301c
* Add camomile 0.8.3 and 0.8.2 (for ocaml_batteries). * Remove obsolete camomile 0.7.3 and 0.8.1. * Update ocaml_batteries to version 1.3.0 (also add fixes for Darwin). svn path=/nixpkgs/trunk/; revision=27299
30 lines
665 B
Nix
30 lines
665 B
Nix
{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
|
|
];
|
|
};
|
|
}
|