2011-03-20 14:23:53 +01:00
|
|
|
{ ghc, cabal, X11, utf8String, pkgconfig, libXft, freetype, fontconfig }:
|
2010-02-21 16:45:13 +01:00
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "X11-xft";
|
|
|
|
version = "0.3";
|
|
|
|
sha256 = "48892d0d0a90d5b47658877facabf277bf8466b7388eaf6ce163b843432a567d";
|
2011-03-20 14:23:53 +01:00
|
|
|
buildInputs = [ ghc pkgconfig libXft freetype fontconfig ];
|
2010-02-21 16:45:13 +01:00
|
|
|
propagatedBuildInputs = [ X11 utf8String ];
|
2011-03-20 14:23:53 +01:00
|
|
|
configureFlags=["--extra-include-dirs=${freetype}/include/freetype2"];
|
2010-02-21 16:45:13 +01:00
|
|
|
meta = {
|
2011-08-15 13:27:02 +02:00
|
|
|
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
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2010-02-21 16:45:13 +01:00
|
|
|
};
|
|
|
|
})
|