1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/X11-xft/default.nix

19 lines
640 B
Nix
Raw Normal View History

{ cabal, fontconfig, freetype, libXft, pkgconfig, utf8String, X11
}:
cabal.mkDerivation (self: {
pname = "X11-xft";
version = "0.3.1";
sha256 = "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf";
buildDepends = [ utf8String X11 ];
extraLibraries = [ fontconfig freetype pkgconfig ];
pkgconfigDepends = [ libXft ];
configureFlags = "--extra-include-dirs=${freetype}/include/freetype2";
meta = {
description = "Bindings to the Xft, X Free Type interface library, and some Xrender parts";
license = "LGPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})