summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/X11-xft/default.nix
blob: 3f7ffe73c3354a1404a6637107f6d55799fefc89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ cabal, Cabal, fontconfig, freetype, libXft, pkgconfig, utf8String
, X11
}:

cabal.mkDerivation (self: {
  pname = "X11-xft";
  version = "0.3.1";
  sha256 = "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf";
  buildDepends = [ Cabal 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
      self.stdenv.lib.maintainers.simons
    ];
  };
})