9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
25 lines
733 B
Nix
25 lines
733 B
Nix
{ stdenv, lib, fetchFromGitHub, pkg-config, fontconfig, ocaml }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-fontconfig-20131103";
|
|
src = fetchFromGitHub {
|
|
owner = "flh";
|
|
repo = "ocaml-fontconfig";
|
|
rev = "42daf1697ffcee9c89ee4be3103b6427f7a7b7e5";
|
|
sha256 = "1fw6bzydmnyh2g4x35mcbg0hypnxqhynivk4nakcsx7prr8zr3yh";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ ocaml fontconfig ];
|
|
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 ];
|
|
};
|
|
}
|