8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
747 B
Nix
25 lines
747 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, fontconfig, ocaml }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-fontconfig-20131103";
|
|
src = fetchFromGitHub {
|
|
owner = "flh";
|
|
repo = "ocaml-fontconfig";
|
|
rev = "42daf1697ffcee9c89ee4be3103b6427f7a7b7e5";
|
|
sha256 = "1fw6bzydmnyh2g4x35mcbg0hypnxqhynivk4nakcsx7prr8zr3yh";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ ocaml fontconfig ];
|
|
makeFlags = [
|
|
"OCAML_STDLIB_DIR=$(out)/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib/"
|
|
"OCAML_HAVE_OCAMLOPT=yes"
|
|
];
|
|
|
|
meta = {
|
|
description = "Fontconfig bindings for OCaml";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|