nixpkgs/pkgs/development/libraries/haskell/X11-xft/default.nix
Andres Löh 19b2375799 Fix Haskell x11-xft package.
svn path=/nixpkgs/trunk/; revision=26430
2011-03-20 13:23:53 +00:00

16 lines
673 B
Nix

{ ghc, cabal, X11, utf8String, pkgconfig, libXft, freetype, fontconfig }:
cabal.mkDerivation (self : {
pname = "X11-xft";
version = "0.3";
sha256 = "48892d0d0a90d5b47658877facabf277bf8466b7388eaf6ce163b843432a567d";
buildInputs = [ ghc pkgconfig libXft freetype fontconfig ];
propagatedBuildInputs = [ X11 utf8String ];
configureFlags=["--extra-include-dirs=${freetype}/include/freetype2"];
meta = {
homepage = http://hackage.haskell.org/package/X11-xft;
description = "Haskell bindings to the Xft and some Xrender parts";
maintainers = with self.stdenv.lib.maintainers; [ astsmtl ];
platforms = with self.stdenv.lib.platforms; linux;
};
})