uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
30
pkgs/development/ocaml-modules/fontconfig/default.nix
Normal file
30
pkgs/development/ocaml-modules/fontconfig/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkg-config, fontconfig, ocaml }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ocaml-fontconfig";
|
||||
version = "unstable-2013-11-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flh";
|
||||
repo = "ocaml-fontconfig";
|
||||
rev = "42daf1697ffcee9c89ee4be3103b6427f7a7b7e5";
|
||||
sha256 = "1fw6bzydmnyh2g4x35mcbg0hypnxqhynivk4nakcsx7prr8zr3yh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ocaml ];
|
||||
buildInputs = [ fontconfig ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [
|
||||
"OCAML_STDLIB_DIR=$(out)/lib/ocaml/${lib.getVersion ocaml}/site-lib/"
|
||||
"OCAML_HAVE_OCAMLOPT=yes"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fontconfig bindings for OCaml";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue