3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/camomile/0.8.2.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

31 lines
769 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";
};
buildInputs = [ocaml findlib camlp4];
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
];
};
}