mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +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
33 lines
799 B
Nix
33 lines
799 B
Nix
{stdenv, lib, fetchurl, ocaml, findlib, camlp4}:
|
|
|
|
if lib.versionAtLeast ocaml.version "4.05"
|
|
then throw "camomile-0.8.2 is not available for OCaml ${ocaml.version}"
|
|
else
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "camomile";
|
|
version = "0.8.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2";
|
|
sha256 = "0x43pjxx70kgip86mmdn08s97k4qzdqc8i79xfyyx28smy1bsa00";
|
|
};
|
|
|
|
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
|
|
|
strictDeps = true;
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = "http://camomile.sourceforge.net/";
|
|
description = "A comprehensive Unicode library for OCaml";
|
|
license = lib.licenses.lgpl21;
|
|
branch = "0.8.2";
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [
|
|
lib.maintainers.maggesi
|
|
];
|
|
};
|
|
}
|