at 16.09-beta 21 lines 704 B view raw
1{ stdenv, fetchFromGitHub, pkgconfig, fontconfig, ocaml }: 2 3stdenv.mkDerivation { 4 name = "ocaml-fontconfig-20131103"; 5 src = fetchFromGitHub { 6 owner = "flh"; 7 repo = "ocaml-fontconfig"; 8 rev = "42daf1697ffcee9c89ee4be3103b6427f7a7b7e5"; 9 sha256 = "1fw6bzydmnyh2g4x35mcbg0hypnxqhynivk4nakcsx7prr8zr3yh"; 10 }; 11 12 buildInputs = [ ocaml pkgconfig fontconfig ]; 13 makeFlags = "OCAML_STDLIB_DIR=$(out)/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib/ OCAML_HAVE_OCAMLOPT=yes"; 14 15 meta = { 16 description = "Fontconfig bindings for OCaml"; 17 license = stdenv.lib.licenses.gpl2Plus; 18 platforms = ocaml.meta.platforms or []; 19 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 20 }; 21}