Merge pull request #9944 from vbgl/ocaml-fontconfig
ocaml-fontconfig: init at 20131103
This commit is contained in:
commit
fcc3a87b69
2 changed files with 25 additions and 0 deletions
21
pkgs/development/ocaml-modules/fontconfig/default.nix
Normal file
21
pkgs/development/ocaml-modules/fontconfig/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, fontconfig, ocaml }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-fontconfig-20131103";
|
||||
src = fetchFromGitHub {
|
||||
owner = "flh";
|
||||
repo = "ocaml-fontconfig";
|
||||
rev = "42daf1697ffcee9c89ee4be3103b6427f7a7b7e5";
|
||||
sha256 = "1fw6bzydmnyh2g4x35mcbg0hypnxqhynivk4nakcsx7prr8zr3yh";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml pkgconfig 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;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
|
@ -4369,6 +4369,10 @@ let
|
|||
|
||||
fix = callPackage ../development/ocaml-modules/fix { };
|
||||
|
||||
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
|
||||
inherit (pkgs) fontconfig;
|
||||
};
|
||||
|
||||
functory = callPackage ../development/ocaml-modules/functory { };
|
||||
|
||||
herelib = callPackage ../development/ocaml-modules/herelib { };
|
||||
|
|
Loading…
Reference in a new issue